Merge pull request #8717 from eclipse/sa_gym
RL4J: Use Py_AddPath() instead of Py_SetPath() in GymEnv (issue #8688)master
commit
3d7adcf25a
6
pom.xml
6
pom.xml
|
@ -297,14 +297,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.9</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>
|
||||
<hdf5.version>1.12.0</hdf5.version>
|
||||
<ale.version>0.6.1</ale.version>
|
||||
<gym.version>0.15.5</gym.version>
|
||||
<gym.version>0.17.1</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