Deep time (using Tensorflow to read clocks)
09 Oct 2016This is a simple project with the aim of learning to tell time from an image of a clock like this one:
The code is available here: https://github.com/felixduvallet/deep-time-reading
In a nutshell, the approach looks something like this:
- Generate a synthetic clock face with different times shown (input data).
- Use tensorflow batch queues to provide a parallelizable input pipeline.
- Formulate this problem as a multi-task classification problem, where one task is to predict the hour and one task is to predict the minute.
- Use (essentially) CIFAR10’s model architecture.
- Optimize cross entropy loss
- Also measure prediction precision and time error (how far off our time telling is from the truth).