Tensorflow Inception V3培训错误
我试图通过在Docker上重新训练Inception V3来创build肿瘤图像分类器。 当我运行Python脚本时,我的class级子文件夹中的图像未被检测到。 所有的图像都是PNG格式。 这是代码和错误:
root@c47d0d562199:/classifier# python retrain.py bottlenecks_dir=bottlenecks --how_many_steps=4000 --model_dir=inception --summaries_dir=training_summaries/long --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --image_dir=Images 2017-11-16 21:26:20.099812: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-11-16 21:26:20.099898: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-11-16 21:26:20.099912: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. Looking for images in 'Bening_Phyllodes_Tumor' No files found Looking for images in 'Benign_Tubular_Adenoma' No files found Looking for images in 'Malignant_Ductal_Carcinoma' No files found Looking for images in 'Malignant_Lobular_Carcinoma' No files found Looking for images in 'Malignant_Papillary_Carcinoma' No files found Looking for images in 'Bening_Fibroadenoma' No files found Looking for images in 'Malignant_Mucinous_Carcinoma' No files found Looking for images in 'Bening_Adenosis' No files found No valid folders of images found at Images
这似乎是有一些图像格式问题,因为子文件夹是可检测的,并已被阅读。 Inception V3只读取.jpg? 我的图像是PNG格式。
- docker的CP不工作
- Docker下载Google的TensorFlow问题
- 如何以非root用户身份运行官方Tensorflow Docker镜像?
- 为什么Tensorflow在尝试运行标准的tensorflow docker镜像时没有bash命令会产生笔记本encryption警告?
- 通过docker在Windows上tensorflow
- 在PyCharm中运行一个Docker镜像会导致“卷的规格无效”
- 如何通过docker容器正确安装TFServer
- 如何从没有Jupyter的“外部”访问Tensorflow docker实例 – 分布式Tensorflow
- 诗人的张量| | 重新启动Docker | 无效的参考格式