Giter Site home page Giter Site logo

angelomorgado / carla-gymdrive Goto Github PK

View Code? Open in Web Editor NEW
10.0 1.0 4.0 49.89 MB

Autonomous driving episode generation for the Carla simulator in a gym environment. This framework makes it easy to create driving scenarios to train/test the agent.

License: MIT License

Python 100.00%
autonomous-driving carla carla-simulator gymnasium gymnasium-environment simulation

carla-gymdrive's People

Contributors

angelomorgado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

carla-gymdrive's Issues

Error! When Run train_agent_stablebaselines3.py and train_dqn_agent.py

  • carla server : I use 0.9.15 vesrion docker , and start it manually.
  • conda env: create with carla_0.9.15_virtual_env.yml and requirements.txt
  • ubuntu 20.04, GPU 3090

when I run train_agent_stablebaselines3.py, first raise this error
RuntimeError: mat1 and mat2 shapes cannot be multiplied (2x2 and 768x64)
I find this error is from the wrong output of CustomExtractor_PPO
Then I change the output of the CustomExtractor_PPO(custom_feature_extractor.py), return combined_features instead of policy_output
Then raise this error
ValueError: Expected parameter loc (Tensor of shape (1, 2)) of distribution Normal(loc: torch.Size([1, 2]), scale: torch.Size([1, 2])) to satisfy the constraint Real(), but found invalid values:
tensor([[nan, nan]], device='cuda:0')

I have no idea why i got this error, please help me~

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.