Coder Social home page Coder Social logo

luxai's Introduction

  • To run imitation learning, use nohup python main.py under working directory imitaion_learning. Results will be saved under fold model_checkpoint along with model checkpoints. The fold will be named after the current time-stamp. You can also tweak command arguments to customize training phase. For example,

    • nohup python main.py --load_prop 1.0 --epoch 30 --option 3 --map 12 --device 'cuda:0' > IL_OPT3_MAP12_TB.log 2>&1 &

    For details of or to modify command arguments, please see imitation_learning/main.py

  • Code structures, configuration, command arguments, etc remain similar for Deep Q-learning.

  • To submit via kaggle API, you need to ensure your API token file exists in ~/.kaggle/kaggle.json. Then run command:

    • kaggle competitions submit -c lux-ai-2021 -f FILE_NAME -m MESSAGE
  • Experiments for Imitation Learning and DQN are conducted with Python 3.7, PyTorch 1.7, CUDA 11.0, kaggle-enviroments 1.8.12, gym 0.19.0.

  • Visualization of self-playing replays of PPO and IL are shown in video/ppo_Trim.mp4 and video/IL_Trim.mp4.

luxai's People

Contributors

shawx825 avatar wangys16 avatar

Watchers

 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.