potterhsu/SVHNClassifier
حول
A TensorFlow implementation of Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks (http://arxiv.org/pdf/1312.6082.pdf)
الأنظمة والبنية التحتيةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلSVHNClassifier
A TensorFlow implementation of Multi-digit Number Recognition from Street View Imagery using Deep Convolutional Neural Networks
Graph

Results
Accuracy

Accuracy 93.45% on test dataset after about 14 hours
Loss

Samples
| Training | Test |
|---|---|
![]() |
![]() |
![]() |
![]() |
Inference of outside image

digit "10" means no digits
Requirements
Python 2.7
Tensorflow
h5py
In Ubuntu: $ sudo apt-get install libhdf5-dev $ sudo pip install h5py
Setup
Clone the source code
$ git clone https://github.com/potterhsu/SVHNClassifier $ cd SVHNClassifierDownload SVHN Dataset format 1
Extract to data folder, now your folder structure should be like below:
SVHNClassifier - data - extra - 1.png - 2.png - ... - digitStruct.mat - test - 1.png - 2.png - ... - digitStruct.mat - train - 1.png - 2.png - ... - digitStruct.mat
Usage
(Optional) Take a glance at original images with bounding boxes
Open `draw_bbox.ipynb` in JupyterConvert to TFRecords format
$ python convert_to_tfrecords.py --data_dir ./data(Optional) Test for reading TFRecords files
Open `read_tfrecords_sample.ipynb` in Jupyter Open `donkey_sample.ipynb` in JupyterTrain
$ python train.py --data_dir ./data --train_logdir ./logs/trainRetrain if you need
$ python train.py --data_dir ./data --train_logdir ./logs/train2 --restore_checkpoint ./logs/train/latest.ckptEvaluate
$ python eval.py --data_dir ./data --checkpoint_dir ./logs/train --eval_logdir ./logs/evalVisualize
$ tensorboard --logdir ./logs(Optional) Try to make an inference
Open `inference_sample.ipynb` in Jupyter Open `inference_outside_sample.ipynb` in Jupyter $ python inference.py --image /path/to/image.jpg --restore_checkpoint ./logs/train/latest.ckptClean
$ rm -rf ./logs or $ rm -rf ./logs/train2 or $ rm -rf ./logs/eval
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…



