Skip to content

The torch version issue #5

@Theohhhu

Description

@Theohhhu

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions