Skip to content

Commit 009bacd

Browse files
committed
Try to import Torch in src/ppo/main.clj
1 parent f30aeb4 commit 009bacd

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

src/ppo/main.clj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,11 @@
1010
:category :ml
1111
:tags [:physics :machine-learning :optimization :ppo :control]}}}
1212

13-
(ns ppo.main)
13+
(ns ppo.main
14+
(:require [libpython-clj2.require :refer (require-python)]))
15+
16+
17+
(require-python '[torch :as torch])
18+
19+
20+
;; ![pendulum](pendulum.png)

0 commit comments

Comments
 (0)