【问题标题】:tensorflow:Label inception has no images in the category training?tensorflow:Label inception在类别训练中没有图片?
【发布时间】:2017-12-04 13:38:15
【问题描述】:

输入: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 模型,在重新训练模型时出现跟随错误。

【问题讨论】:

    标签: python ubuntu docker tensorflow docker-compose


    【解决方案1】:
    1. 在 docker 中正确安装驱动器。 docker run -it -v $HOME/tf_files:/tf_files(Tensorflow 路径)
    2. 在您的图像文件夹中创建两个文件夹。
    3. 如果你想制作一个分类器而不是放两个文件夹例如如果你想制作一个星球大战海报的分类器而不是放一个包含星球大战图片的文件夹和其他包含其他电影图像的文件夹。
    4. 这将解决错误。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-24
      • 1970-01-01
      • 2018-05-22
      • 2018-10-19
      • 2017-05-23
      • 2017-08-14
      • 2017-11-26
      • 2017-01-06
      相关资源
      最近更新 更多