项目作者: fomorians

项目描述 :
A simple synthetic dataset and baseline model for visual counting.
高级语言: Jupyter Notebook
项目地址: git://github.com/fomorians/counting-mnist.git
创建时间: 2017-08-01T00:34:18Z
项目社区:https://github.com/fomorians/counting-mnist

开源协议:Apache License 2.0

下载


Counting MNIST

A simple synthetic dataset and baseline model for visual counting. The task is to count the number of even digits given a 100x100 image, each with up to 5 randomly chosen MNIST digits. We use rejection sampling to ensure digits are separated by at least 28 pixels. Reproduced with details from Learning to count with deep object features.

NOTE: This is not a dataset to beat, but a simple place to start for validating ideas in counting models.

Sample

Distribution

Instructions

  1. Generate TFRecords:
  1. python -m counting_mnist.create_dataset
  1. Train baseline:
  1. python -m counting_mnist.main

Results

Model Accuracy
Always Predict Zero Even Digits 33%
Uniform Count Predictions 12%
Baseline Model 85%