GithubHelp home page GithubHelp logo

Comments (3)

HaibeiZhu avatar HaibeiZhu commented on June 9, 2024

Hi, thanks for posting this issue

I have also experienced the same issue with the same error message before. First, could you confirm that the PyTorch version and other related dependencies are the same when you train and apply your agent?

If the version is the same, your checkpoints were not saved successfully. Could you let me know if you terminated the training manually? Or you waited until all epochs finished? Also, have you tried other checkpoints that you saved?

from abides-jpmc-public.

EthanChoukroun avatar EthanChoukroun commented on June 9, 2024

Hi,
Thank you for your response,

I confirm that I am using the same version of Torch when I train and apply the agent, I did not terminate the training manually. I just set the number of iterations to a much lower value to run it locally and changed the checkpoint_freq parameter to different values lower than the # of iterations.

I have tried different ways to access checkpoints and change different parameters such as metric but I still have the same error.

What do you mean by setting checkpoints manually? I have only created checkpoints defined in the tune.run() command.

from abides-jpmc-public.

Andrea94c avatar Andrea94c commented on June 9, 2024

Hi Ethan, thanks for posting this error and sorry for the delay.
This seems a compatibility issue with torch and Ray library.

The best solution is downgrading to torch<1.12.0 (e.g., torch==1.11.0). This should fix the issue.

from abides-jpmc-public.

Related Issues (9)

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.