Giter Site home page Giter Site logo

faizansana / intersection-carla-gym Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 191 KB

Intersection Gym environment in CARLA Town 3

License: MIT License

Python 96.87% Shell 0.88% Dockerfile 2.25%
autonomous-driving carla carla-reinforcement-learning carla-simulator gym gymnasium reinforcement-learning

intersection-carla-gym's Introduction

Fancy seeing you here!

  • ๐Ÿ”ญ Iโ€™m currently doing my Masters @ UWaterloo
  • ๐ŸŒฑ I'm currently working on Deep Reinforcement Learning for Autonomous Vehicles ๐Ÿš™
  • ๐Ÿ“ซ How best to reach me: [email protected]

Linkedin Badge Linkedin Badge

Faizan Sana's GitHub Stats
logo

intersection-carla-gym's People

Contributors

deepsource-io[bot] avatar dependabot[bot] avatar faizansana avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

marinbao

intersection-carla-gym's Issues

Upgrade reward function to incorporate pedestrian penalty

At the moment, the model, even after learning for 1.5 million steps, still crashes into pedestrians.

  • Incorporating penalties for getting close to pedestrians in dense rewards might help.
  • Larger negative reward for crashing into pedestrian.

Look into setting no render mode for CARLA

In this case, since we are not depending on sensor states (LiDAR, camera etc.) and only care about other vehicle states, pedestrians etc. using no render mode makes sense. This would also reduce resource consumption and increase FPS. Documentation is here

Enhance logging system

Currently the logs are created using the experiment name and output dir params in the config file. This doesn't seem too useful so think of a better way of enhancing the logging and reduce the tree structure of config yaml file.

Segmentation fault occurring after n random timesteps

The environment exits with a segmentation fault that occurs after n timesteps. This is an indeterministic number failing within even 2000 timesteps and as late as never as seen.

The following has been observed.

  • It is seen to fail faster in python 3.8.16 (environment.yml) as compared to 3.7
  • It was thought that this might be due to the collision sensor. However, the collision sensor was completely removed from the script and it stil continued to fail.
  • This seg fault might be occurring due to failure of destroying the actor. It seems that the seg fault is occurring due to the carla library. However since the carla python library is a wrapper for C code, it is hard to debug exactly what is going wrong.
  • After the traffic manager instantiation was moved to after setting it to synchronous mode, it seems these seg faults occur less. However, this could be unrelated.

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.