This paper describes a software package called “imitation” which provides PyTorch implementations of several imitation and reward learning algorithms, including three inverse reinforcement learning algorithms, three imitation learning algorithms, and a preference comparison algorithm. The source code, including documentation and examples, is available
here.