【发布时间】:2020-11-16 06:46:08
【问题描述】:
我已安装 tensorflow 2.x 以在 Windows 10 上使用对象检测并关注 this tutorial
但运行后出现此错误
python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
显示。
甚至运行新命令
python model_main_tf2.py --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
【问题讨论】:
-
如果我没记错的话,教程遵循 tensorflow 1 并且更快的 rcnn 启动仅适用于 tensorflow 1。为什么不按照这个显示 tf2 对象检测 api 的教程:github.com/abdelrahman-gaber/tf2-object-detection-api-tutorial
-
您是否从 tensorflow 2 api 的模型动物园下载了您的主干:github.com/tensorflow/models/blob/master/research/… ?
标签: python tensorflow object-detection