Andy-zhujunwen / FPN-Semantic-segmentation

use FPN to FPN-Semantic-segmentation。pytorch version
47 stars 14 forks source link

ModuleNotFoundError: No module named 'data.CamVid_loader' and ModuleNotFoundError: No module named 'data.utils' #1

Closed JasonmorrowGuo closed 4 years ago

JasonmorrowGuo commented 4 years ago

Sorry to bother you, I have trained your model on ubuntu18.04 with pytorch, but errors occurred when I tried to run Test.py. It seems that there is no file named "Cam_loader.py" or "utils.py" in the data folder. Besides, I'm puzzled whether I need to prepare CamVidDataset or not. Please give me some advice when you are free,thank you!

JasonmorrowGuo commented 4 years ago

Sorry, I forgot to point out where the code occurred errors. They are "File "test.py", line 19" and "File "test.py", line 20".

JasonmorrowGuo commented 4 years ago

Ha-Ha, what a new fish am I! I copied "utils.py" from your another code which tested with Cityscapes dataset too. Besides, I commented out line 19 of test.py which is "from data.CamVid_loader import CamVidDataset". Next time I will think more before I submit a issue. Sorry again!