OfflineRL icon indicating copy to clipboard operation
OfflineRL copied to clipboard

The torch version issue

Open Theohhhu opened this issue 3 years ago • 1 comments

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!

Theohhhu avatar Nov 22 '22 06:11 Theohhhu

Hey @Theohhhu.

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

IcarusWizard avatar Dec 07 '22 15:12 IcarusWizard