From 1efe2dc846ad8af63c33ad86716f584f75f25d13 Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Wed, 19 Feb 2020 00:31:12 +0900 Subject: [PATCH 1/3] RL4J: Use Py_AddPath() instead of Py_SetPath() in GymEnv (issue #8688) Also update versions of JavaCPP Presets for OpenBLAS and Gym Signed-off-by: Samuel Audet --- pom.xml | 4 ++-- .../src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 9b32f25ae..265dc711d 100644 --- a/pom.xml +++ b/pom.xml @@ -296,14 +296,14 @@ 1.18.1 ${numpy.version}-${javacpp-presets.version} - 0.3.7 + 0.3.8 2020.0 4.2.0 4.2.2 1.79.0 1.10.6 0.6.1 - 0.15.5 + 0.15.6 1.15.2 ${tensorflow.version}-${javacpp-presets.version} diff --git a/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java b/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java index afeea5f7c..8a402a8ff 100644 --- a/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java +++ b/rl4j/rl4j-gym/src/main/java/org/deeplearning4j/rl4j/mdp/gym/GymEnv.java @@ -62,7 +62,7 @@ public class GymEnv> implements MDP { private static PyObject globals; static { try { - Py_SetPath(org.bytedeco.gym.presets.gym.cachePackages()); + Py_AddPath(org.bytedeco.gym.presets.gym.cachePackages()); program = Py_DecodeLocale(GymEnv.class.getSimpleName(), null); Py_SetProgramName(program); Py_Initialize(); From b119631e60949e7135f0705cce9468f22c83ad4e Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Thu, 20 Feb 2020 15:48:37 +0900 Subject: [PATCH 2/3] Update version of the JavaCPP Presets for Gym Signed-off-by: Samuel Audet --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 265dc711d..6fc9995a5 100644 --- a/pom.xml +++ b/pom.xml @@ -303,7 +303,7 @@ 1.79.0 1.10.6 0.6.1 - 0.15.6 + 0.16.0 1.15.2 ${tensorflow.version}-${javacpp-presets.version} From 9a5e21d61719e4bec7b2a60b5b75dba6030f3bd7 Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Thu, 12 Mar 2020 07:11:58 +0900 Subject: [PATCH 3/3] Uupdate versions of JavaCPP Presets for HDF5, OpenBLAS, and Gym Signed-off-by: Samuel Audet --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 6fc9995a5..ac69d208c 100644 --- a/pom.xml +++ b/pom.xml @@ -296,14 +296,14 @@ 1.18.1 ${numpy.version}-${javacpp-presets.version} - 0.3.8 + 0.3.9 2020.0 4.2.0 4.2.2 1.79.0 - 1.10.6 + 1.12.0 0.6.1 - 0.16.0 + 0.17.1 1.15.2 ${tensorflow.version}-${javacpp-presets.version}