- Add the RL4J core dependency:
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>rl4j-core</artifactId>
<version>1.0.0-beta3</version>
</dependency>
- Add the RL4J Malmo dependency:
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>rl4j-malmo</artifactId>
<version>1.0.0-beta3</version>
</dependency>
- Add a dependency for the ND4J backend:
- For CPU, you can use the following:
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-native-platform</artifactId>
<version>1.0.0-beta3</version>
</dependency>
-
- For GPU, you can use the following:
<dependency>
<groupId>org.nd4j</groupId>
<artifactId>nd4j-cuda-10.0</artifactId>
<version>1.0.0-beta3</version>
</dependency>
- Add Maven dependency for MalmoJavaJar:
<dependency>
<groupId>com.microsoft.msr.malmo</groupId>
<artifactId>MalmoJavaJar</artifactId>
<version>0.30.0</version>
</dependency>