Lavender105 / DFF

Code for Dynamic Feature Fusion for Semantic Edge Detection https://arxiv.org/abs/1902.09104
MIT License
220 stars 51 forks source link

ModuleNotFoundError: No module named 'encoding.datasets.cityscapes_orig' #24

Open yh675 opened 3 years ago

yh675 commented 3 years ago

Hi,

I am trying to run test.py but there doesn't appear to be a .cityscapes_orig in "dff-master/lib/python3.6/site-packages/encoding/datasets/".

Traceback (most recent call last): File "test.py", line 17, in import encoding.utils as utils File "/home/miniconda2/envs/dff-master/lib/python3.6/site-packages/encoding/init.py", line 14, in from . import nn, functions, dilated, parallel, utils, datasets File "/home/miniconda2/envs/dff-master/lib/python3.6/site-packages/encoding/datasets/init.py", line 7, in from .cityscapes_orig import CityscapesSegmentation ModuleNotFoundError: No module named 'encoding.datasets.cityscapes_orig'

The cityscapes.py file in encoding/datasets also does not have CityscapesSegmentation in it.

Has anyone else had this issue and been able to resolve it?

bang2003er commented 1 year ago

I have the same problem. Have you solved it?