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' #64

Open 4dirveduck opened 8 months ago

4dirveduck commented 8 months ago

Hello, I had the same problem and no module named 'unetr_pp'. my folder structure is similarity with https://github.com/Amshaker/unetr_plus_plus/tree/main/unetr_pp and running the training script:"bash training_scripts/run_training_synapse.sh", the problem still exists. Can you help me to solv the problem? 222 111

Amshaker commented 8 months ago

Hi, It seems you are are running the script from incorrect folder. Can you run the training script from the main directory (unertr_plus_plus-main) and check?

4dirveduck commented 8 months ago

Thanks for your reply, the issue seems to have been resolved. It may be the path problem in file 'run training synapse.sh'. After I modified the path, the code can be allowed to run. The running process is as follows. 333 444

4dirveduck commented 8 months ago

Hi, Dear author, thank you for your replyI, have successfully replicated the UNETR++ model as per your prompt #64. While going through the paper on UNETR++, I came across your mention of Swin-UNETR in Synapse data experiment comparison. May I request you to kindly share the code for Swin-UNETR that can be used to train the synapse dataset?

在 2024-01-05 16:16:58,"Abdelrahman Shaker" @.***> 写道:

Hi, It seems you are are running the script from incorrect folder. Can you run the training script from the main directory (unertr_plus_plus-main) and check?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

WangXiaoXv commented 5 months ago

您好,我遇到了同样的问题,并且没有名为“unetr_pp”的模块。我的文件夹结构与https://github.com/Amshaker/unetr_plus_plus/tree/main/unetr_pp 相似 并运行训练脚本:“ bash Training_scripts/run_training_synapse.sh”,问题仍然存在。 你能帮我解决这个问题吗? 222 111

您好,我遇到了同样的问题,并且没有名为“unetr_pp”的模块。我的文件夹结构与https://github.com/Amshaker/unetr_plus_plus/tree/main/unetr_pp 相似 并运行训练脚本:“ bash Training_scripts/run_training_synapse.sh”,问题仍然存在。 你能帮我解决这个问题吗? 我看见您已经解决了这个问题,可以告诉我具体解决方案吗?非常感谢

4dirveduck commented 5 months ago

image 这是当时作者的回复,具体如何解决的记不清了,似乎是某个路径没输对。大致如下图 image

WangXiaoXv commented 5 months ago

非常感谢您的回复,能再在麻烦您发一下这个文件(“ unetr_plus_plus-main\unetr_pp\run\run_training.py”)的具体代码吗?我的这个代码好像总是报错。

Annie @.***

 

------------------ 原始邮件 ------------------ 发件人: "Amshaker/unetr_plus_plus" @.>; 发送时间: 2024年3月18日(星期一) 晚上7:05 @.>; @.**@.>; 主题: Re: [Amshaker/unetr_plus_plus] No module named 'unetr_pp' (Issue #64)

image.png (view on web) 这是当时作者的回复,具体如何解决的记不清了,似乎是某个路径没输对。大致如下图 image.png (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>