Giter Site home page Giter Site logo

Comments (3)

tdb-alcorn avatar tdb-alcorn commented on August 22, 2024 1

Woohoo! Thanks again for the feedback

from q2.

tdb-alcorn avatar tdb-alcorn commented on August 22, 2024

Derp, that's dead code from a previous iteration. It should be fixed by 08003db. I have pushed up a patch version v0.1.4.

If you'd be willing to verify that v0.1.4 works for you I'd be super grateful!
(just pip uninstall q2 then pip install q2 then run q2 train random --env gym.CartPole-v1 --episodes 10 --render again)

from q2.

guillermo-carrasco avatar guillermo-carrasco commented on August 22, 2024

pip install --upgrade q2 did the job 🙂

(python3)  ~/repos_and_code/reinforced_test ~> q2 train random --env gym.CartPole-v1 --episodes 10 --render
WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype.
2018-07-03 08:13:27.388676: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-07-03 08:13:27.401476: W tensorflow/core/framework/op_kernel.cc:1318] OP_REQUIRES failed at save_restore_tensor.cc:170 : Invalid argument: Unsuccessful TensorSliceReader constructor: Failed to get matching files on checkpoints/RandomAgent.ckpt: Not found: checkpoints; No such
file or directory
Checkpoint file not found, skipping load
Running environment gym.CartPole-v1
WARN: gym.spaces.Box autodetected dtype as <class 'numpy.float32'>. Please provide explicit dtype.
Episode: 0      Frame: 12       Reward: 1.00 / 12.00    Framerate: 125.16
Episode: 1      Frame: 12       Reward: 1.00 / 12.00    Framerate: 150.03
Episode: 2      Frame: 16       Reward: 1.00 / 16.00    Framerate: 137.71
Episode: 3      Frame: 14       Reward: 1.00 / 14.00    Framerate: 151.63
Episode: 4      Frame: 62       Reward: 1.00 / 62.00    Framerate: 95.88
Episode: 5      Frame: 18       Reward: 1.00 / 18.00    Framerate: 129.20
Episode: 6      Frame: 16       Reward: 1.00 / 16.00    Framerate: 146.31
Episode: 7      Frame: 14       Reward: 1.00 / 14.00    Framerate: 81.75
Episode: 8      Frame: 17       Reward: 1.00 / 17.00    Framerate: 153.90
Episode: 9      Frame: 15       Reward: 1.00 / 15.00    Framerate: 113.34

Perfect. thanks!

from q2.

Related Issues (3)

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.