【发布时间】:2022-06-13 06:50:53
【问题描述】:
我正在尝试使用 TFOD 训练自定义对象检测模型,遵循 this 文档。当我运行 generate_tfrecord.py 文件时,它会生成 0 字节的 tfrecord 文件,我不知道它以前工作时有什么问题。
# Create train data:
!python generate_tfrecord.py -x /content/drive/MyDrive/training_demo/images/train -l /content/drive/MyDrive/training_demo/annotations/label_map.pbtxt -o /content/drive/MyDrive/training_demo/annotations/train.record
# Create test data:
!python generate_tfrecord.py -x /content/drive/MyDrive/training_demo/images/test -l /content/drive/MyDrive/training_demo/annotations/label_map.pbtxt -o /content/drive/MyDrive/training_demo/annotations/test.record
【问题讨论】:
标签: python tensorflow object-detection