Git Product home page Git Product logo

Comments (3)

hzyjerry avatar hzyjerry commented on May 24, 2024 1

Found it, the environment name should be ScratchItchJacoHuman-v0 instead of ScratchItchJaco-v0 :P

from assistive-gym.

Zackory avatar Zackory commented on May 24, 2024

Does this happen at the beginning or end of training? If it happens at the end, then it is likely not an issue as the policy has been trained and saved. If it occurs at the beginning, have you tried rerunning the script a few times? I recall encountering a bug like this on a few machines where the pytorch training library throws an error once in a while, but rerunning the script would resolve the issue. Sadly, I haven't had the free time to find and resolve this weird bug.

P.S. if you are training on a machine with 4, 8, or 16 virtual cores, I suggest adding an extra parameter '--num-rollouts 32'. I'll be adding this into the documentation soon. It keeps running the simulator for a total of 32 simulation rollouts before updating the PPO policy, and larger batch sizes of around 32 I have found to improve policy performance.

from assistive-gym.

hzyjerry avatar hzyjerry commented on May 24, 2024

Hi Zack, thanks for the quick response!

The error happens at the beginning of the training, and unfortunately running multiple times didn't make it go away. I'm using my device with 12 cores and tried --num-rollouts 12 and --num-rollouts 24 but didn't work.

Looking more into it, it seems that when defining MLPBase class, the num_inputs is set to 0 and causes error with network initialization. Still looking and unsure why this happens (didn't make any change to the code yet).

from assistive-gym.

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.