Skip to content

ModelConverter.py not working #12

@bolon667

Description

@bolon667

Quick and dirty fix
Comment this string

#print(model['encoder.history.weight'])

Add argument weights_only=False to torch.load

state = torch.load(args.i, map_location='cpu', weights_only=False)

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