boschresearch / torchphysics

https://boschresearch.github.io/torchphysics/
Apache License 2.0
389 stars 41 forks source link

Import issues #19

Closed mfarooq2 closed 1 year ago

mfarooq2 commented 1 year ago

Getting these errors for imports. The directory doesnt have the required files. Followed the instructions for the installation 'cannot import name 'Variable' from 'torchphysics.problem''

nheilenkoetter commented 1 year ago

Hi, which Notebook are you trying to run? The 'Variable' class is part of our old API and not present in the library anymore. However, there are some old examples which should usually bei marked as 'not supported anymore'.

mfarooq2 commented 1 year ago

Sorry I didn't realize the statement on the top of the notebook which explicitly mentioned that it wouldn't work with the current version. Thanks for letting me know.

mfarooq2 commented 1 year ago

Sorry I didn't realize the statement on the top of the notebook which explicitly mentioned that it wouldn't work with the current version. Thanks for letting me know.

On Sat, Sep 17, 2022 at 12:04 PM nheilenkoetter @.***> wrote:

Hi, which Notebook are you trying to run? The 'Variable' class is part of our old API and not present in the library anymore. However, there are some old examples which should usually bei marked as 'not supported anymore'.

— Reply to this email directly, view it on GitHub https://github.com/boschresearch/torchphysics/issues/19#issuecomment-1250096599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AML4LXYMJEAG6I34R7PWVMLV6XT2PANCNFSM6AAAAAAQOY2TJ4 . You are receiving this because you authored the thread.Message ID: @.***>

-- Best, Moatasim Farooque