Amshaker / unetr_plus_plus

[IEEE TMI-2024] UNETR++: Delving into Efficient and Accurate 3D Medical Image Segmentation
Apache License 2.0
340 stars 32 forks source link

No module named 'unetr_pp' #29

Closed so-ux closed 1 year ago

so-ux commented 1 year ago

I want to use 'nnFormer_plan_and_preprocess.py' to process my dataset, but something is wrong with those messages: Traceback (most recent call last): File ".../unetr_plus_plus-main/unetr_plus_plus-main/unetr_pp/experiment_planning/nnFormer_plan_and_preprocess.py", line 18, in import unetr_pp ModuleNotFoundError: No module named 'unetr_pp' How can I solve this problem

Amshaker commented 1 year ago

Hi @so-ux ,

Thank you for your interest in our work.

Please refer to https://github.com/Amshaker/unetr_plus_plus/issues/12

Best regards, Abdelrahman.

ForrestFzy commented 3 months ago

This could be a good solution:

import sys
sys.path.append('/****/****/unetr_plus_plus-main')