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

0
0

Python3+TensorFlow打造人脸识别智能小程序

理论与实战项目双管齐下,让AI技术真正落地应用,适合毕设展示。

1100 学习 · 538 问题

查看课程