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 <samuel.audet@gmail.com>master
parent
4b46aaedd3
commit
1efe2dc846
4
pom.xml
4
pom.xml
|
@ -296,14 +296,14 @@
|
|||
<numpy.version>1.18.1</numpy.version>
|
||||
<numpy.javacpp.version>${numpy.version}-${javacpp-presets.version}</numpy.javacpp.version>
|
||||
|
||||
<openblas.version>0.3.7</openblas.version>
|
||||
<openblas.version>0.3.8</openblas.version>
|
||||
<mkl.version>2020.0</mkl.version>
|
||||
<opencv.version>4.2.0</opencv.version>
|
||||
<ffmpeg.version>4.2.2</ffmpeg.version>
|
||||
<leptonica.version>1.79.0</leptonica.version>
|
||||
<hdf5.version>1.10.6</hdf5.version>
|
||||
<ale.version>0.6.1</ale.version>
|
||||
<gym.version>0.15.5</gym.version>
|
||||
<gym.version>0.15.6</gym.version>
|
||||
<tensorflow.version>1.15.2</tensorflow.version>
|
||||
<tensorflow.javacpp.version>${tensorflow.version}-${javacpp-presets.version}</tensorflow.javacpp.version>
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ public class GymEnv<O, A, AS extends ActionSpace<A>> implements MDP<O, A, AS> {
|
|||
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();
|
||||
|
|
Loading…
Reference in New Issue