Coder Social home page Coder Social logo

Comments (5)

michaelschaarschmidt avatar michaelschaarschmidt commented on July 21, 2024

Hi,
sorry, we changed some of the config keys and relied on the test to check if the example still runs: https://github.com/reinforceio/tensorforce/blob/master/tensorforce/tests/test_quickstart_example.py

Will fix the config asap

from tensorforce.

michaelschaarschmidt avatar michaelschaarschmidt commented on July 21, 2024

Ah, you are using the TRPOAgent config, not the trpo_cartpole.json config, hence we didnt catch it. This is an error in the docs, thanks for raising it!

python examples/openai_gym.py CartPole-v0 -a TRPOAgent -c examples/configs/trpo_cartpole.json -n examples/configs/trpo_cartpole_network.json

This should run and I will check for outdated example configs such as trpo_agent.json now

from tensorforce.

michaelschaarschmidt avatar michaelschaarschmidt commented on July 21, 2024

Fixed via 2017d3d

let me know if everything works now so I can close the issue. The reason we provide a specific cartpole config is to have one that fits to the problem, the general trpo_agent.json has a far too large batch size for cartpole (more appropriate for Atari).

from tensorforce.

michaelschaarschmidt avatar michaelschaarschmidt commented on July 21, 2024

Docs now updated via 4ad49a2

from tensorforce.

AdamStelmaszczyk avatar AdamStelmaszczyk commented on July 21, 2024

Thanks, no TypeError now.

from tensorforce.

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.