我尝试在COLAB上运行TensorFlow对象检测API内联链接
我在第一个安装所需软件包时遇到了这样的错误。 我该如何解决?
背景:python2,gpu
/root
fatal: destination path 'models' already exists and is not an empty directory.
/root/models/research
Traceback (most recent call last):
File "object_detection/builders/model_builder_test.py", line 23, in <module>
from object_detection.builders import model_builder
ImportError: No module named object_detection.builders
我不清楚您从哪个目录执行命令。如果您从内容目录执行它,请转到Model,然后转到研究目录。
%cd ~/models/research
!python object_detection/builders/model_builder_test.py
如果您没有模型目录克隆,请使用
!git clone --quiet https://github.com/tensorflow/models.git