scaelles / DEXTR-PyTorch

Deep Extreme Cut http://www.vision.ee.ethz.ch/~cvlsegmentation/dextr
GNU General Public License v3.0
843 stars 153 forks source link

cannot import name resnet #7

Closed 21Ansh closed 6 years ago

21Ansh commented 6 years ago

When I am trying to run demo.py, I am having following error

Traceback (most recent call last): File "demo.py", line 10, in from networks.dextr import DEXTR File "/local/arathore/3D_processing/DEXTR-KerasTensorflow/networks/dextr.py", line 8, in from networks import resnet File "/local/arathore/3D_processing/DEXTR-KerasTensorflow/networks/resnet.py", line 12, in from networks.classifiers import build_pyramid_pooling_module File "/local/arathore/3D_processing/DEXTR-KerasTensorflow/networks/classifiers.py", line 10, in from networks import resnet ImportError: cannot import name resnet

kmaninis commented 6 years ago

Are you referring to the TensorFlow version of the code? If not, the two repos are mixed, and maybe that is the problem.

scaelles commented 6 years ago

I would also make sure that you are using Python 3.6 as the code may not be compatible with older Python versions.