Skip to content

Send nn.parameter to optimizer #67

@Presleyliao

Description

@Presleyliao

Hello, thank you for your great work!

I have an issue when I want to send nn.parameter to the optimizer, the error is as follow:
TypeError: params argument given to the optimizer should be an iterable of Tensors or dicts, but got torch.cuda.FloatTensor

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions