当我在colab中执行代码(对象检测)时,demo.py中突然出现错误

时间:2019-12-21 15:32:52

标签: google-colaboratory

我正在使用Google Colab中的遮罩R-CNN进行对象识别。在5天之前,我得到了输出,每个cel都执行了。但是开始重新运行单元时,出现了类似no module named coco的错误;即使我导入了所有内容。谁能帮助我解决这个错误? 我得到的错误

<ipython-input-21-68065fa967fc> in <module>()
     18 # Import COCO config
     19 sys.path.append(os.path.join(ROOT_DIR, "samples/coco/"))  # To find local version
---> 20 import coco
     21 
     22 get_ipython().magic('matplotlib inline')

ModuleNotFoundError: No module named 'coco'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

0 个答案:

没有答案