简体   繁体   中英

ModuleNotFoundError: No module named 'utils.coco_utils' utils' is not a package

I'm using Colab for the first time and trying to run a project and got this error.. i tried to

!pip install utils.coco_utils

but got the same error

ModuleNotFoundError: No module named 'utils.coco_utils'; 'utils' is not a package

It helped me to use coco_utils from vision/references/detection/ .
Just copy it into folder with your.ipynb file and import as a module.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM