Skip to content

run the code you mentioned has some wrong #11

@littleolex

Description

@littleolex

Traceback (most recent call last):
File "E:/git/self_supervised/train_blog.py", line 42, in
main()
File "E:/git/self_supervised/train_blog.py", line 33, in main
method = MoCoMethod(config)
File "E:\git\self_supervised\moco.py", line 115, in init
self.hparams = AttributeDict(attr.asdict(hparams))
File "E:\software\anaconda3\envs\pytorch_1_7\lib\site-packages\torch\nn\modules\module.py", line 826, in setattr
object.setattr(self, name, value)
AttributeError: can't set attribute

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