• Stars
    star
    528
  • Rank 83,941 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created about 7 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

PyTorch Agent Net: reinforcement learning toolkit for pytorch

PTAN

PTAN stands for PyTorch AgentNet -- reimplementation of AgentNet library for PyTorch

This library was used in "Deep Reinforcement Learning Hands-On" book, here you can find sample sources.

Code branches

The repository is maintained to keep dependency versions up-to-date. This requires efforts and time to test all the examples on new versions, so, be patient.

The logic is following: there are several branches of the code, corresponding to major pytorch version code was tested. Due to incompatibilities in pytorch and other components, code in the printed book might differ from the code in the repo.

At the moment, there are the following branches available:

  • master: contains the code with the latest pytorch which was tested. At the moment, it is pytorch 1.7.
  • torch-1.3-book-ed2: code printed in the book (second edition) with minor bug fixes. Uses pytorch=1.3 which is available only on conda repos.
  • torch-1.7: pytorch 1.7. Merged with master.

All the branches uses python 3.7, more recent versions weren't tested.

Installation

From sources:

python setup.py install

From pypi:

pip install ptan

From github:

pip install pip install git+https://github.com/Shmuma/ptan.git 

Requirements

Note for Anaconda Python users

To run some of the samples, you will need these modules:

conda install pytorch torchvision -c pytorch
pip install tensorboard-pytorch
pip install gym
pip install gym[atari]
pip install opencv-python

Documentation

Random pieces of information

More Repositories

1

rethinking-2ed-julia

Port of Statistical Rethinking (2nd edition) code to Julia
Jupyter Notebook
123
star
2

gpu_mon

Python script which monitors gpu access
Python
106
star
3

rl

RL experiments
Jupyter Notebook
69
star
4

sqlite3-mt4-wrapper

Wrapper DLL for sqlite3 usage from MT4
C
42
star
5

flipper-zero-pocsag

C
9
star
6

nlp

Various NLP-related stuff
Python
9
star
7

Dagitty.jl

Graphical Analysis of Structural Causal Models
Julia
6
star
8

xen-oses

Xen kernels inspired by reading the 'Defenitive guide to the Xen hypervisor' book.
C
6
star
9

shmuma.ru

shmuma.ru site source
4
star
10

klife

Study project for life game in kernel
C
4
star
11

deep-traffic-2019

Python
4
star
12

garmin-public

Opensource for Garmin devices
4
star
13

maps-proxy

Various proxy server-side scripts for maemo-mapper
Python
3
star
14

mt-tools

Metatrader misc tools
3
star
15

shelf_utils

Shelf wrappers around sg_ses (shelf enclosure service) to management of disk shelves from linux.
3
star
16

z

z
C
2
star
17

open-mapper

Collection of tools for maemo-mapper on desktop.
Common Lisp
2
star
18

grain-watering

System for grain watering
C++
2
star
19

mt4r

R for MetaTrader4
Pascal
2
star
20

pureftpd-o_direct

Patch for pureftpd to write all uploads with O_DIRECT to prevent disk cache pollution
C
2
star
21

maemo-mapper-shmuma

Improved version of maemo mapper
C
2
star
22

radio

Electronic projects. Schematics and other stuff.
Eagle
2
star
23

quote-tracker

GAE application which performs fetching, processing and providing various financial data
Python
2
star
24

scst_local

SCST local target with refresh functionality
2
star
25

tablix-operators

Tablix modules for operator's schedule problem.
Shell
2
star
26

sample_mods

Collection of sample kernel modules
C
1
star
27

xenwatch

Xen monitoring module
C
1
star
28

hdpstat

Hadoop/HBase statistics tools
Python
1
star
29

Anki

Anki flashcard data
1
star
30

cc

cc solutions
C
1
star
31

tfo_probe

Experiments with TCP Fast Open
Python
1
star
32

hadoop

cdh hadoop
Java
1
star
33

hbase

HBase
Java
1
star
34

hbase-trunk

My work clone of HBase trunk
Java
1
star
35

cs-lects

Place to store small projects inspired by CS video lectiures, as CS61A (aka SICP), etc
Racket
1
star
36

wifi-scanner

Turning HP ScanJet 200 into wifi scanner
Python
1
star
37

music

1
star
38

cinfo

cinfo tool fixes
C
1
star
39

eagle-libs

Eagle component libraries
1
star
40

RadioBoat

C
1
star
41

yandex-traffic-widget

Yandex.Traffic desktop widget for n900.
C++
1
star
42

perfdb

Performance benchmarks utility
Common Lisp
1
star
43

acm.uva.es

acm.uva.es solutions
C
1
star
44

chart-markup

Financial charts markup app
Python
1
star
45

flipper-zero-tests

Test app
C
1
star