张量:标签开始在类别训练中没有图像?

在这里输入图像说明

input: 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运行-it – v $ HOME / tf_files:/ tf_files(Tensorflowpath)
  2. 在您的图像文件夹内制作两个文件夹。
  3. 如果你想做一个分类器比放置两个文件夹,例如,如果你想做一个星球大战的海报分类器比放一个文件夹,其中包含星球大战和其他文件夹的图片与其他电影的图像。
  4. 这将解决错误。