File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 - name : Install dependencies
2424 run : |
2525 pip install plotly kaleido
26+ pip install --index-url https://download.pytorch.org/whl/cpu torch
2627
2728 - name : Set up Java
2829 uses : actions/setup-java@v4
Original file line number Diff line number Diff line change 1+ ^{:kindly/hide-code true
2+ :clay {:title " Proximal Policy Optimization with Clojure and Pytorch"
3+ :external-requirements []
4+ :quarto {:author [:janwedekind ]
5+ :draft true
6+ :description " A Clojure port of Jinghao's PPO implementation using Pytorch and Quil"
7+ :image " pendulum.png"
8+ :type :post
9+ :date " 2026-04-18"
10+ :category :ml
11+ :tags [:physics :machine-learning :optimization :ppo :control ]}}}
12+
13+ (ns ppo.main
14+ (:require [libpython-clj2.require :refer (require-python )]))
15+
16+
17+ (require-python '[torch :as torch])
18+
19+
20+ ; ; 
You can’t perform that action at this time.
0 commit comments