Code Monkey home page Code Monkey logo

nocturne's Introduction

Nocturne (A3C)

Contributions

  • algos/a3c/ : Our team adapted algos/ppo/ to implemente A3C (Asynchronous Advantage Actor Critic) policies and algorithms.
  • cfgs/algorithm/a3c.yaml : Adapted from cfgs/algorithm/ppo.yaml to support A3C algorithm parameters and reduce training time on 1 GB dataset.
  • examples/on_policy_files/nocturne_runner.py : Modified to support training and rendering on both A3C and PPO.
  • environment.yml : Fixed OpenAI Gym version to support latest dependencies.

Set Up

Follow the nocturneREADME.md instructions to get the environment set up. We suggested the user to set up the environment with Conda. For some reasons, we found the environment can be set up smoothly on Linux but ran into some issues on Mac. We recommend setting up on Linux to get the best experience.

Train and Run

To run our project code, simply run python examples/on_policy_files/nocturne_runner.py algorithm=a3c. The user should download the Waymo training dataset and specify the path in config.py. To shorten the training time, the user could lower the num_env_steps in algorithm's .yaml files in cfgs/algorithm. Keep in mind that the training speed can be faster but the collision rate could become higher with this modification.

Rendered results

The rendered GIF would be stored in logs/ as render.gif and would overwrite itself with the training. Our GIF demos would be stored in a3c_demos/. Wandb log is set to True in cfgs/cfgs.yaml to showcase the numeric result of the model. Since wandb required an user account, simply set wandb to False to disable it.

nocturne's People

Contributors

eugenevinitsky avatar alexcw923 avatar nathanlct avatar xiaomengy avatar thangnc423 avatar jasxnle avatar

Stargazers

 avatar

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.