Code Monkey home page Code Monkey logo

Comments (5)

LocLePhuoc avatar LocLePhuoc commented on August 23, 2024

I encountered the same problem. The agent won't move even though the simulation is running.

from hands-on-intelligent-agents-with-openai-gym.

praveen-palanisamy avatar praveen-palanisamy commented on August 23, 2024

[Edited]

On a second look at your log, I figured that you are running the trained agent in train mode. If you want to use the trained model for testing the agent to see how well it drives, you should use the --test command-line argument as mentioned in the README here.
This is the command:
python a2c_agent.py --env Carla-v0 --test --render

from hands-on-intelligent-agents-with-openai-gym.

Amakri1020 avatar Amakri1020 commented on August 23, 2024

That's true, but it is still loading the trained A2C_Carla-v0.ptm agent for the train mode correct? It has the same behaviour in test mode unfortunately =\ it simply sits there not taking any actions.

from hands-on-intelligent-agents-with-openai-gym.

praveen-palanisamy avatar praveen-palanisamy commented on August 23, 2024

from hands-on-intelligent-agents-with-openai-gym.

praveen-palanisamy avatar praveen-palanisamy commented on August 23, 2024

from hands-on-intelligent-agents-with-openai-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.