【发布时间】:2020-02-04 01:37:03
【问题描述】:
我正在关注 this tutorial 并使用 tensorflow 进行自定义对象检测项目。
所以当我尝试使用以下命令为火车图像创建 TF 记录时
python3 generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record
我收到以下错误:
Traceback (most recent call last):
File "generate_tfrecord.py", line 23, in <module>
flags = tf.app.flags
AttributeError: module 'tensorflow' has no attribute 'app'
我该如何解决这个错误?
【问题讨论】:
标签: python-3.x tensorflow object-detection