Git Product home page Git Product logo

Comments (12)

baosws avatar baosws commented on July 17, 2024 2

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

from dcrnn_pytorch.

mdanb avatar mdanb commented on July 17, 2024 1

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

from dcrnn_pytorch.

weiyinchiang avatar weiyinchiang commented on July 17, 2024

@zhenhuascut @victorsoda
"'models/epo64.tar' " is not provided in this branch........

from dcrnn_pytorch.

zhenhuascut avatar zhenhuascut commented on July 17, 2024

Thanks, I have solved it.

from dcrnn_pytorch.

yuanlics avatar yuanlics commented on July 17, 2024

Still don't see epo64.tar ... It would be great if you could upload it. Many thanks!

from dcrnn_pytorch.

diving16 avatar diving16 commented on July 17, 2024

Still don't see too... Would you upload it then I could reproduce your work? Thanks a lot.

from dcrnn_pytorch.

htn274 avatar htn274 commented on July 17, 2024

I also got the same trouble, but at 51 epoch. Can you help me solve it? Thanks a lot.

from dcrnn_pytorch.

htn274 avatar htn274 commented on July 17, 2024

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

Thanks! I tried successfully.

from dcrnn_pytorch.

chnsh avatar chnsh commented on July 17, 2024

Hi everyone, I am sorry I have been unable to reply - @htn274 is correct - the epoch is intended to be the checkpoint from where to resume and I have since then shut down the server (I am a poor student 🥼) and haven't been able to retrieve the weights at epoch 64 - if you just set it to 0 and train, you will be able to reproduce the results

from dcrnn_pytorch.

semink avatar semink commented on July 17, 2024

I don't believe setting train/epoch to 0 is a solution for this problem. As you train the model by the code, the trained models are saved as models/epo0.tar, epo1.tar,... etc. Therefore if you run "run_demo" with train/epoch = 0, it means you run demo with the trained model only with the first epoch. So I ask you to add the best model (epoXX.tar) at the models/ for METR-LA, and PEMS-BAY then we can test with these models

from dcrnn_pytorch.

chnsh avatar chnsh commented on July 17, 2024

@semink that is incorrect - the model only tries to load existing weights if epoch > 0, so by setting epoch=0 will do the job as @baosws helpfully pointed out.

I am closing this issue for now - the solution is to train it and once it has trained, set the correct epoch number in config.yml and that should work

from dcrnn_pytorch.

mdanb avatar mdanb commented on July 17, 2024

@chnsh this didn't work for me. I still get the same error

from dcrnn_pytorch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.