question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to load the model

See original GitHub issue

Hi @lufficc , i am trying to use 512 vgg model you provided, but after enter this command: python test.py --config-file configs/vgg_ssd512_voc0712.yaml --ckpt outputs/vgg_ssd512_voc0712.pth , it just download from amazon

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ijalalfrzcommented, Jun 29, 2020

@lufficc , i have download it and put to my outputs folder, is there any option to load from offline mode, i traced the code and find out that the program is downloading first from amdgroot vgg reducedfc model i dont know why we have to download it first but after that it’s loaded the downloaded pth file

0reactions
lufficccommented, Jul 12, 2020

I also want to load local model,what i should do?Can you help me?

--ckpt /path/to/local/file.pth

Read more comments on GitHub >

github_iconTop Results From Across the Web

Save and load Keras models | TensorFlow Core
In order to save/load a model with custom-defined layers, or a subclassed model, you should overwrite the get_config and optionally from_config ...
Read more >
Save and load models in Tensorflow - GeeksforGeeks
Now you can simply save the weights of all the layers using the save_weights() method. It saves the weights of the layers contained...
Read more >
How to Save and Load Your Keras Deep Learning Model
You can save your model by calling the save() function on the model and specifying the filename. The example below demonstrates this by...
Read more >
How to load a tensorflow model? - ProjectPro
Step 1 - Import library · Step 2 - Load the Data · Step 3 - Define the model · Step 4 -...
Read more >
Save and Load the Model - PyTorch
Saving and Loading Model Weights ... To load model weights, you need to create an instance of the same model first, and then...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found