+
Skip to content

Confusion with workaround for using a non-locally trained pth file for model_weights  #126

@pranjshrivastava

Description

@pranjshrivastava

Hi Alan,
I have used your Detecto framework code frequently on Google Colaboratory and have always successfully trained and used it for detection applications Colab. Recently I tried to train it on Google Colab and downloaded the model_weights.pth file. I used this file to run the detection locally on a Jetson Nano by Nvidia.

I faced the following Runtime error:
Error(s) in loading state_dict for FasterRCNN

I read through the previous issues and the workaround that you provided for buggy load function. However, you seem to have given model_name for a different model.

I'll be grateful if you could help me fix my problem and what model_name i can use for the workaround of load function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载