xmengli / H-DenseUNet

TMI 2018. H-DenseUNet: Hybrid Densely Connected UNet for Liver and Tumor Segmentation from CT Volumes
528 stars 161 forks source link

No module named 'custom_layers' #54

Open mubeenmeo344 opened 5 years ago

mubeenmeo344 commented 5 years ago

/media/brl/94AEC7B1AEC78A66/Diagnosis1/venv/bin/python /media/brl/94AEC7B1AEC78A66/Diagnosis1/train_2ddense.py Using TensorFlow backend. Traceback (most recent call last): File "/media/brl/94AEC7B1AEC78A66/Diagnosis1/train_2ddense.py", line 16, in from denseunet import DenseUNet File "/media/brl/94AEC7B1AEC78A66/Diagnosis1/denseunet.py", line 25, in from custom_layers import Scale ImportError: No module named custom_layers

Process finished with exit code 1 kindly tell me that where this file is located? Is this is a built-in file in keras??

Thanks in Advance.

lyxlynn commented 4 years ago

I have the same problem,too

lyxlynn commented 4 years ago

I solved it.
modify the line 4 and 5 in denseunet.py to ./Keras-2.0.8