MCPcopy Index your code
hub / github.com/Lizhi-sjtu/DRL-code-pytorch

github.com/Lizhi-sjtu/DRL-code-pytorch @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
233 symbols 569 edges 24 files 1 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

DRL-code-pytorch

Concise pytorch implementations of DRL algorithms, including REINFORCE, A2C, Rainbow DQN, PPO(discrete and continuous), DDPG, TD3, SAC, PPO-discrete-RNN(LSTM/GRU).

Dependencies

python==3.7.9

numpy==1.19.4

pytorch==1.12.0

tensorboard==0.6.0

gym==0.21.0

Core symbols most depended-on inside this repo

reset
called by 17
4.PPO-discrete/normalization.py
actor
called by 15
9.PPO-discrete-RNN/ppo_discrete_rnn.py
critic
called by 15
9.PPO-discrete-RNN/ppo_discrete_rnn.py
mean
called by 14
5.PPO-continuous/ppo_continuous.py
orthogonal_init
called by 10
5.PPO-continuous/ppo_continuous.py
drawing_LL
called by 6
3.Rainbow_DQN/drawing_Rainbow_DQN.py
orthogonal_init
called by 6
4.PPO-discrete/ppo_discrete.py
orthogonal_init
called by 6
9.PPO-discrete-RNN/ppo_discrete_rnn.py

Shape

Method 161
Class 52
Function 20

Languages

Python100%

Modules by API surface

3.Rainbow_DQN/replay_buffer.py20 symbols
5.PPO-continuous/ppo_continuous.py19 symbols
7.TD3/TD3.py17 symbols
8.SAC/SAC-continuous.py16 symbols
6.DDPG/DDPG.py16 symbols
9.PPO-discrete-RNN/ppo_discrete_rnn.py14 symbols
4.PPO-discrete/ppo_discrete.py13 symbols
3.Rainbow_DQN/network.py12 symbols
1.REINFORCE/REINFORCE_baseline.py12 symbols
2.Actor-Critic/A2C.py11 symbols
9.PPO-discrete-RNN/normalization.py10 symbols
5.PPO-continuous/normalization.py10 symbols

For agents

$ claude mcp add DRL-code-pytorch \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact