训练部分:
这三个参数分别是什么意思:
目前暂时给的参数为:
python train.py --input_file_pattern /home/zhangsufang/data/mscoco/raw-data/train-00000-of-00256 --train_dir model/ --loss_file loss_file/
可能给的参数并不正确:
IOError: embedding_matrix5 not found
在github 上看到确实别人也缺这个文件,至于这个文件是做什么用的,目前不知道。
地址是:https://github.com/alpv95/MemeProject/issues/7
现在的想法是先跑通im2txt 的程序。
运行:
python train.py --input_file_pattern=/home/zhangsufang/data/mscoco/raw-data/train-00000-of-00256 /home/zhangsufang/ggj/pro/MemeProject-master/im2txt/model/inception_v3.ckpt --train_dir="data/model/train" --train_inception=false --number_of_steps=1000000
现在报错:
原因分析:
model 文件位置不正确。