alibaba-damo-academy / ct-sam3d

Apache License 2.0
16 stars 2 forks source link

"file config.py not found!" #4

Open JoshFreeze opened 2 weeks ago

JoshFreeze commented 2 weeks ago

I am trying to run the example Jupyter notebook file, but I cannot because the config.py file is not included in the git. The lines referencing the config file are in the example notebook's "load model weights" section.

checkpoint = "../../../ckpt_1000/params.pth"

config_file = os.path.join(os.path.dirname(checkpoint), "config.py")
assert os.path.isfile(config_file), "file config.py not found!"
henguo commented 2 weeks ago

Thanks for interests. Have you downloaded model weights and configuration file from this site?

https://modelscope.cn/models/xiuan123/CT-SAM3D/files

JoshFreeze commented 2 weeks ago

Ahh, I see that file now. Now it works great!

Thank you for your help!

On Tue, Sep 10, 2024 at 4:40 AM Heng Guo @.***> wrote:

Thanks for interests. Have you downloaded model weights and configuration file from this site?

https://modelscope.cn/models/xiuan123/CT-SAM3D/files

— Reply to this email directly, view it on GitHub https://github.com/alibaba-damo-academy/ct-sam3d/issues/4#issuecomment-2340032184, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALIB5HEGPL6V2JQGIQ47JSLZV2V7BAVCNFSM6AAAAABN5J5WZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBQGAZTEMJYGQ . You are receiving this because you authored the thread.Message ID: @.***>

-- Joshua C. Freeze Ph.D. Candidate, Biomedical Engineering Case Western Reserve University @.*** 1-815-276-7002