一. 先测验环境是否可以
https://github.com/tensorflow/models/tree/master/official
里面是mnist,resnet 等官方release的模板
1)先http://yann.lecun.com/exdb/mnist/ 下载mnist数据
2)data转tfrecord
3)train
python convert_to_records.py
python mnist.py
4)查看tensorboard
tensorboard --logdir=mnist_model/
http://localhost:6006 可以查看到对应信息
二. 训练自己的数据
1.注意config里,PATH_TO_BE_CONFIGURED 替换为自己的路径