TorchLean API

NN.Examples.RL.PPOCartPoleView

PPO CartPole Artifacts #

This file visualizes the training curve produced by NN/Examples/Models/RL/PPOCartPole.lean (lake exe torchlean ppo_cartpole).

The executable trainer stays in Examples/Models; this file is only the editor-side artifact viewer. That split keeps PPO training code in one place and avoids a duplicate "RL examples" model zoo.

Workflow:

  1. Run:
python3 -m pip install --user 'gymnasium>=1.0'
lake exe torchlean ppo_cartpole
lake build -R -K cuda=true && lake exe torchlean ppo_cartpole --cuda
  1. Put the cursor on the command below in an editor. The infoview will render the saved log.

Notes:

References: