Skip to content

Instantly share code, notes, and snippets.

@mattbushell
mattbushell / A3CCustomMDP.java
Created October 31, 2017 12:26
Example of A3C using LSTM and a custom implementation of the MDP API
package org.deeplearning4j.examples.rl4j;
import java.io.IOException;
import org.deeplearning4j.rl4j.learning.async.a3c.discrete.A3CDiscrete;
import org.deeplearning4j.rl4j.learning.async.a3c.discrete.A3CDiscreteDense;
import org.deeplearning4j.rl4j.mdp.MDP;
import org.deeplearning4j.rl4j.mdp.toy.HardDeteministicToy;
import org.deeplearning4j.rl4j.mdp.toy.HardToyState;
import org.deeplearning4j.rl4j.network.ac.ActorCriticFactorySeparateStdDense;
[DEBUG] META-INF/MANIFEST.MF already added, skipping
[DEBUG] adding entry library.properties
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 04:23 min
[INFO] Finished at: 2017-06-05T18:27:58+01:00
[INFO] Final Memory: 243M/2195M
[INFO] ------------------------------------------------------------------------
Cleaning up unclosed ZipFile for archive C:\Users\Matt\.m2\repository\org\scala-lang\scala-library\2.10.5\scala-library-2.10.5.jar