WisconsinAIVision / yolact_edge

The first competitive instance segmentation approach that runs on small edge devices at real-time speeds.
MIT License
1.28k stars 272 forks source link

Colab notbook run fails #179

Open rbli-john opened 2 years ago

rbli-john commented 2 years ago

Hi the owner of this github,

Your colab notebook (link) run fails with error (see screenshot below) : "ModuleNotFoundError: No module named 'utils'"

image

Seems that you can fix it as follows: replacing 'from utils.logging_helper import setup_logger' by 'from yolact_edge.utils.logging_helper import setup_logger' (i.e. add yolact_edge. before utils)

MlLearnerAkash commented 2 years ago

May be late reply, but still relevant.

What is happening is that: "utils" folder directory is "./yolact_edge/yolact_edge/", but cwd is "./yolact_edge/", that's why could not find the utils folder out of "./yolact_edge/".

I have solved the issue: and you can follow the link : https://colab.research.google.com/drive/1Jqb45oxsNbHk1btTwUlaT3u-HOgckKSP?usp=sharing.

Thanks Nikhil Rasal for pointing out the issue correctly.