Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The torch version issue #5

Open
Theohhhu opened this issue Nov 22, 2022 · 1 comment
Open

The torch version issue #5

Theohhhu opened this issue Nov 22, 2022 · 1 comment

Comments

@Theohhhu
Copy link

Hi there,

After getting everything installed, I run the script provided and meet the error:

File "/home/hsy/PycharmProjects/OfflineRL/offlinerl/utils/net/tanhpolicy.py", line 29, in __init__ self.mode = torch.tanh(normal_mean) AttributeError: can't set attribute.

Pycharm also highlights the error on that line as: Property 'mode' cannot be set
Can you look into this issue and maybe provide your torch version?

Currently I am using Torch 1.13.0.

Thanks!

@IcarusWizard
Copy link
Collaborator

IcarusWizard commented Dec 7, 2022

Hey @Theohhhu.

Sorry for the late reply. Your issue should be solved by pull request #2. Could you try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants