Skip to content

saving and loading the model #4

@omeruth

Description

@omeruth

Hi,
i was able to save the model using torch.save(model, 'path/to/model/file.pt')
however, when loading the model using torch.load('path/to/model/file.pt') give the error
framework, model = infer_framework_load_model(model, config=model.config)
AttributeError: module 'model' has no attribute 'config'

I was just wondering if you it is possible to save the model on the disk?
Thanks

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