NotFoundError: face.pbtxt
来源:6-21 TensorFlow-ssd 模型训练-实操(1)
慕无忌7596857
2021-03-31
打包命令:python3 object_detection/dataset_tools/demo_detection_face/create_face_tf_record.py --data_dir=/home/zby --year=wider_face --output_path=/home/zby/wider_face/TF-data/test.record --set=test
结果:tensorflow.python.framework.errors_impl.NotFoundError: face.pbtxt; No such file or directory
完整版结果是一堆warning然后最后是 :
File “/home/zby/anaconda3/envs/tf1-py36-gpu/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py”, line 84, in _preread_check
compat.as_bytes(self.__name), 1024 * 512)
tensorflow.python.framework.errors_impl.NotFoundError: face.pbtxt; No such file or directory
停止运行了
1回答
-
会写代码的好厨师
2021-04-02
需要定义face.pbtxt文件
参考:https://github.com/tensorflow/models/tree/master/research/object_detection/data
00