← Open Source
yrlu

irl-imitation

Implementation of Inverse Reinforcement Learning (IRL) algorithms in Python/Tensorflow. Deep MaxEnt, MaxEnt, LPIRL.

Model DevelopmentReinforcement LearningPython
Open on GitHub
Momentum
+0stars in 24 hours0.0%
684
Stars
145
Forks
+-1
This week
1
Contributors
Created 2017-05-24 · Updated 2026-10-13 · #15042 today
Top developers

yrlu/irl-imitation is ranked 15,042 with 684 stars.

Same-category comparison

yrlu/irl-imitation is ranked 15,042 among these 8 peers; ayumiymk/aster.pytorch is ranked 15,046.

Same-category comparison
NameRankMetrics
seungwonpark/RandWireNN15,025
Language:
Python
Stars:
685
Forks:
135
Description:
Implementation of: "Exploring Randomly Wired Neural Networks for Image Recognition".
tengshaofeng/ResidualAttentionNetwork-pytorch15,027
Language:
Python
Stars:
685
Forks:
165
Description:
a pytorch code about Residual Attention Network. This code is based on two projects from.
thohemp/6DRepNet15,028
Language:
Python
Stars:
685
Forks:
95
Description:
Official Pytorch implementation of 6DRepNet: 6D Rotation representation for unconstrained head pose estimation.
xuexingyu24/License_Plate_Detection_Pytorch15,029
Language:
Jupyter Notebook
Stars:
685
Forks:
172
Description:
A two stage lightweight and high performance license plate recognition in MTCNN and LPRNet.
ayumiymk/aster.pytorch15,046
Language:
Python
Stars:
683
Forks:
171
Description:
ASTER in Pytorch.
facebookresearch/silk15,048
Language:
Gnuplot
Stars:
683
Forks:
66
Description:
SiLK (Simple Learned Keypoint) is a self-supervised deep learning keypoint model.
gretelai/gretel-synthetics15,049
Language:
Python
Stars:
683
Forks:
103
Description:
Synthetic data generators for structured and unstructured text, featuring differentially private learning.
huangjunheng/recommendation_model15,050
Language:
Python
Stars:
683
Forks:
129
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguagePython
CategoryModel Development
SubcategoryReinforcement Learning
KeywordsRL
Stars684
Forks145
Contributors1
Created date2017-05-24
Updated date2026-10-13
Stars in 1 day0
Stars in 7 days-1
Rank15,042
Previous rank14,874
Rank change-168
7-day stars rank17,722
Previous 7-day stars rank17,677
7-day stars rank change-45
Total stars rank15,155
Previous total stars rank15,132
Total stars rank change-23
CountryUSA
README summary

irl-imitation Implementation of selected Inverse Reinforcement Learning (IRL) algorithms in Python/Tensorflow. Implemented Algorithms Linear inverse reinforcement learning (Ng & Russell, 2000) Maximum entropy inverse reinforcement learning (Ziebart et al. , 2008) Maximum entropy deep inverse reinforcement learning (Wulfmeier et al. , 2015) Implemented MDPs & Solver 2D gridworld 1D gridworld Value iteration If you use this software in your publications, please cite it using the following BibTeX entry: Dependencies python 2. 1 matplotlib Linear Inverse Reinforcement Learning Following Ng & Russell 2000 paper

: Algorithms for Inverse Reinforcement Learning, algorithm 1 Maximum Entropy Inverse Reinforcement Learning (This implementation is largely influenced by Matthew Alger's maxent implementation) Following Ziebart et al. 2015 paper: Maximum Entropy Deep Inverse Reinforcement Learning. The implementation does not follow exactly the model proposed in the paper. Some tweaks applied including elu activations, clipping gradients, l2 regularization etc.

Frequently asked questions

How many stars and forks are recorded?

yrlu/irl-imitation has 684 stars and 145 forks.

What is the repository rank?

yrlu/irl-imitation is ranked 15,042.

What language and category are recorded?

yrlu/irl-imitation has 684 stars, uses Python and belongs to Model Development.

Which repository is closest in rank?

yrlu/irl-imitation is compared with ayumiymk/aster.pytorch, ranked 15,046 with 683 stars.

README

irl-imitation

Implementation of selected Inverse Reinforcement Learning (IRL) algorithms in Python/Tensorflow.

$ python demo.py

Implemented Algorithms
  • Linear inverse reinforcement learning (Ng & Russell, 2000)
  • Maximum entropy inverse reinforcement learning (Ziebart et al., 2008)
  • Maximum entropy deep inverse reinforcement learning (Wulfmeier et al., 2015)
Implemented MDPs & Solver
  • 2D gridworld
  • 1D gridworld
  • Value iteration

If you use this software in your publications, please cite it using the following BibTeX entry:

@misc{lu2017irl-imitation,
  author = {Lu, Yiren},
  doi = {10.5281/zenodo.6796157},
  month = {7},
  title = {{Implementations of inverse reinforcement learning algorithms in Python/Tensorflow}},
  url = {https://github.com/yrlu/irl-imitation},
  year = {2017}
}

Dependencies

  • python 2.7
  • cvxopt
  • Tensorflow 0.12.1
  • matplotlib

Linear Inverse Reinforcement Learning

$ python linear_irl_gridworld.py --act_random=0.3 --gamma=0.5 --l1=10 --r_max=10

Maximum Entropy Inverse Reinforcement Learning

(This implementation is largely influenced by Matthew Alger's maxent implementation)

$ python maxent_irl_gridworld.py --height=10 --width=10 --gamma=0.8 --n_trajs=100 --l_traj=50 --no-rand_start --learning_rate=0.01 --n_iters=20

$ python maxent_irl_gridworld.py --gamma=0.8 --n_trajs=400 --l_traj=50 --rand_start --learning_rate=0.01 --n_iters=20

Maximum Entropy Deep Inverse Reinforcement Learning

  • Following Wulfmeier et al. 2015 paper: Maximum Entropy Deep Inverse Reinforcement Learning. FC version implemented. The implementation does not follow exactly the model proposed in the paper. Some tweaks applied including elu activations, clipping gradients, l2 regularization etc.
  • $ python deep_maxent_irl_gridworld.py --help for options descriptions
$ python deep_maxent_irl_gridworld.py --learning_rate=0.02 --n_trajs=200 --n_iters=20

MIT License

Nearby in the ranking
Similar items