繁体   English   中英

tensorflow:标签创建分类培训中没有图像吗?

[英]tensorflow:Label inception has no images in the category training?

在此处输入图片说明

输入: python tensorflow/examples/image_retraining/retrain.py --bottleneck_dir=/Potholes/bottleneck --how_many_training_steps 100 --model_dir=/Potholes/inception --output_graph=/Potholes/retrained_graph.pb --output_labels=/Potholes/retrained_labels.txt --image_dir /Potholes/Potholes/..

使用docker进行tensorflow并训练Inception模型的上层并在重新训练模型时出现跟随错误。

  1. 在docker中正确安装驱动器。 docker run -it-v $ HOME / tf_files:/ tf_files(Tensorflow路径)
  2. 在图片文件夹内创建两个文件夹。
  3. 如果您想制作一个“分类器”而不是“放置两个”文件夹,例如,如果您想要制作一个“星球大战”的分类器海报,则不愿放置一个包含“星球大战”图片的文件夹,而另一个文件夹包含其他电影的图像。
  4. 这样可以解决错误。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM