GithubHelp home page GithubHelp logo

mlab-upenn / f1tenth_il Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 5.0 16.86 MB

Implementation of various imitation learning algorithms for the F1TENTH platform

License: MIT License

Dockerfile 0.79% Python 99.21%

f1tenth_il's Introduction

F1TENTH Imitation Learning

This repository contains code associated with A Benchmark Comparison of Imitation Learning-based Control Policies for Autonomous Racing

Quickstart

Clone this repository

git clone https://github.com/mlab-upenn/f1tenth_il.git

Navigate to the root directory of this project

cd f1tenth_il

Create a new conda environment with Python 3.8

conda create -n f110_il python=3.8

Activate the environment

conda activate f110_il

Install pip

conda install pip  

Install the dependencies for F1TENTH gym.

pip install -e .

Install other dependencies

pip install -r requirements.txt

Usage

Training

Navigate to the imitation learning folder

cd imitation_learning

Execute the training script

python train.py --algorithm=<algorithm name> --training_config=<yaml file location>

Example:

python train.py --algorithm=hg-dagger --training_config=il_config.yaml

Inference

Navigate to the imitation learning folder

cd imitation_learning

Execute the inference script

python inference.py --training_config=<yaml file location> --model_path=<model path>

Example:

python inference.py --training_config=il_config.yaml --model_path=logs/HGDAgger_model.pkl

f1tenth_il's People

Contributors

m4d-sc1entist avatar

Stargazers

Dennis Schmidt avatar Derek the Gurkhan avatar Luca Albinescu avatar Manav Gagvani avatar  avatar

Watchers

James Cloos avatar Nandan Tumu avatar Hongrui (Billy) Zheng 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.