MIC-DKFZ / basic_unet_example

An example project of how to use a U-Net for segmentation on medical images with PyTorch.
Apache License 2.0
141 stars 38 forks source link

Unable to compile the code as Config_unet_Pancreas.py file not found #2

Closed ramesh152 closed 4 years ago

ramesh152 commented 5 years ago

Hi MIC-DKFZ Team , I am unable to compile the code , because of below error

Traceback (most recent call last): File "run_train_pipeline.py", line 24, in from configs.Config_unet_Pancreas import get_config ModuleNotFoundError: No module named 'configs.Config_unet_Pancreas'

I request you to please update all the dependency files needed for compiling the code. Thanks

elpequeno commented 5 years ago

Hi ramesh,

thank you for that hint. that was my mistake, I included a config file that I never committed. That was meant to be for local testing. I corrected it. Could you please pull and try again?

Cheers, André

RuiruiKang commented 4 years ago

I am still facing the same issue with similar error Traceback (most recent call last): File "run_train_pipeline.py", line 24, in from configs.Config_unet import get_config File "/home/basic_unet_example/configs/Config_unet.py", line 20, in from trixi.util import Config ModuleNotFoundError: No module named 'trixi'

how to solve this problem in detail? although I have already pip install trixi successfully

elpequeno commented 4 years ago

Dear RuiruiKang,

can you open a terminal with your python env and just try "python -c "import trixi"". What does it say? can you import "from trixi.util import Config" in your terminal?

elpequeno commented 4 years ago

I have not heard back from you in a while. Is this issue solved?

elpequeno commented 4 years ago

I assume this issue is solved. If not, please open a new one.