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.

Weights at epoch 64 not found

See original GitHub issue

I was running the script of run_demo_pytorch.py using the command: python run_demo_pytorch.py --config_filename=data/model/pretrained/METR-LA/config.yaml

This is what I got: Traceback (most recent call last): File “run_demo_pytorch.py”, line 33, in <module> run_dcrnn(args) File “run_demo_pytorch.py”, line 18, in run_dcrnn supervisor = DCRNNSupervisor(adj_mx=adj_mx, **supervisor_config) File “/home/cyd/DCRNN_PyTorch/model/pytorch/dcrnn_supervisor.py”, line 50, in init self.load_model() File “/home/cyd/DCRNN_PyTorch/model/pytorch/dcrnn_supervisor.py”, line 93, in load_model assert os.path.exists(‘models/epo%d.tar’ % self._epoch_num), ‘Weights at epoch %d not found’ % self._epoch_num AssertionError: Weights at epoch 64 not found

Could you please upload the ‘models/epo64.tar’ to the repo? I hope to reproduce the MAE results demonstrated in README. Thx!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
mdanbcommented, May 28, 2020

@chnsh actually I ended up doing the change in data/model/pretrained/METR-LA/config.yaml and that did it

1reaction
baoswscommented, Apr 20, 2020

Setting train/epoch to 0 in data/model/dcrnn_test_config.yaml solves the problem for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Agent bug? File not found error - W&B Help - WandB community
Hi I'm using kaggle with Pytorch and W&B Weights and Biases ... such file or directory' is appearing because Run 9uvr1lj3 is not...
Read more >
Save model every 10 epochs tensorflow.keras v2
If save_freq is integer, model is saved after so many samples have been processed. But I want it to be after 10 epochs....
Read more >
Save and load models | TensorFlow Core
To demonstrate how to save and load weights, you'll use the MNIST ... WARNING:tensorflow:Value in checkpoint could not be found in the ...
Read more >
Writing a training loop from scratch - Keras
Calling a model inside a GradientTape scope enables you to retrieve the gradients of the trainable weights of the layer with respect to...
Read more >
Saving and loading models in TensorFlow - KDnuggets
Importance of saving deep learning models (in general, not ... There are 2 different formats to save the model weights in TensorFlow.
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