Skip to content

[BUG] - TCNModel - save/load does not work anymore - darts [0.32.0] #2630

Open
@forklife

Description

Describe the bug
save/load does not work anymore when using TCNModel with weight_norm=True, Pytorch ask for model.state_dict()

probably related to this update
Replaced the deprecated torch.nn.utils.weight_norm function with torch.nn.utils.parametrizations.weight_norm. #2593 by Saeed Foroutan.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue waiting for triaging

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions