10000 Loading trained model · Issue #21 · ljk53/upytorch · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Loading trained model #21
Open
Open
@adrian70000

Description

@adrian70000

Hi,

I trained my model on my PC and I am trying to load it on esp32 board by using:

model.load_state_dict(torch.load("parameters.pt"))

Which results in:

AttributeError: 'module' object has no attribute 'load'

Am I missing something or is loading pretrained models really not implemented? Where are the model parameters(weights and biases) stored? Can they be exported and imported?

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

      0