问题遇到的现象和发生背景
运行
VERIFICATION_SCRIPT = os.path.join(paths['APIMODEL_PATH'], 'research', 'object_detection', 'builders', 'model_builder_tf2_test.py')
# Verify Installation
!python {VERIFICATION_SCRIPT}
测试文件
报错
问题相关代码,请勿粘贴截图
VERIFICATION_SCRIPT = os.path.join(paths['APIMODEL_PATH'], 'research', 'object_detection', 'builders', 'model_builder_tf2_test.py')
# Verify Installation
!python {VERIFICATION_SCRIPT}
运行结果及报错内容
ImportError: cannot import name 'anchor_generator_pb2' from 'object_detection.protos' (C:\Users\ZZH\PycharmProjects\tfnew\venv\lib\site-packages\object_detection\protos_init_.py)
我的解答思路和尝试过的方法
都重头再来了没辙了
我想要达到的结果
正常运行测试文件