eigenvivek / DiffDRR

Auto-differentiable digitally reconstructed radiographs in PyTorch
https://vivekg.dev/DiffDRR
MIT License
148 stars 21 forks source link

Hello World reports an error while running #345

Closed asjeff closed 4 days ago

asjeff commented 5 days ago

Hi, I used pip install diffdrr and wanted to run the Hello world code, but it reported an error in line 26: () didn't match because some of the keywords were incorrect: dim

eigenvivek commented 5 days ago

usually that’s a torch version issue

can you make sure you’re on the latest version of torch? On Nov 19, 2024 at 07:15 -0500, asjeff @.***>, wrote:

Hi, I used pip install diffdrr and wanted to run the Hello world code, but it reported an error in line 26: () didn't match because some of the keywords were incorrect: dim

— Reply to this email directly, view it on GitHubhttps://github.com/eigenvivek/DiffDRR/issues/345, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDA5PGSPWZ3LAD2B4HT67L2BMTWVAVCNFSM6AAAAABSB5LL5GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY3TCOJRGE2TSNI. You are receiving this because you are subscribed to this thread.Message ID: @.***>

asjeff commented 5 days ago

thanks!I will check it

asjeff commented 5 days ago

hi, I'm using pytorch 2.1.2, i want to know only 2.5.1 can use the diffdrr 0.4.4?

eigenvivek commented 5 days ago

not sure about all the version compatabilities, but i’m pretty sure pytorch 2.2+ works On Nov 19, 2024 at 09:20 -0500, asjeff @.***>, wrote:

hi, I'm using pytorch 2.1.2, i want to know only 2.5.1 can use the diffdrr 0.4.4?

— Reply to this email directly, view it on GitHubhttps://github.com/eigenvivek/DiffDRR/issues/345#issuecomment-2485849637, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHDA5PC26WXXP4MYGXMZKVT2BNCKBAVCNFSM6AAAAABSB5LL5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBVHA2DSNRTG4. You are receiving this because you commented.Message ID: @.***>

eigenvivek commented 4 days ago

closing for now, feel free to reopen if you're still facing issues