Skip to content

Commit 82efeb1

Browse files
committed
parameters for ALEA3C
1 parent 8a05b3d commit 82efeb1

File tree

1 file changed

+11
-11
lines changed
  • rl4j-examples/src/main/java/org/deeplearning4j/examples/rl4j

1 file changed

+11
-11
lines changed

rl4j-examples/src/main/java/org/deeplearning4j/examples/rl4j/A3CALE.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
public class A3CALE {
3535

3636
public static HistoryProcessor.Configuration ALE_HP =
37-
new HistoryProcessor.Configuration(
38-
4, //History length
39-
84, //resize width
40-
110, //resize height
41-
84, //crop width
42-
84, //crop height
43-
0, //cropping x offset
44-
0, //cropping y offset
45-
4 //skip mod (one frame is picked every x
46-
);
37+
new HistoryProcessor.Configuration(
38+
4, //History length
39+
152, //resize width
40+
194, //resize height
41+
152, //crop width
42+
194, //crop height
43+
8, //cropping x offset
44+
32, //cropping y offset
45+
4 //skip mod (one frame is picked every x
46+
);
4747

4848
public static A3CDiscrete.A3CConfiguration ALE_A3C =
4949
new A3CDiscrete.A3CConfiguration(
@@ -73,7 +73,7 @@ public static void main(String[] args) throws IOException {
7373
//setup the emulation environment through ALE, you will need a ROM file
7474
ALEMDP mdp = null;
7575
try {
76-
mdp = new ALEMDP("pong.bin");
76+
mdp = new ALEMDP("/home/bam4d/konduit/ALE/ROMS/pong.bin");
7777
} catch (UnsatisfiedLinkError e) {
7878
System.out.println("To run this example, uncomment the \"ale-platform\" dependency in the pom.xml file.");
7979
}

0 commit comments

Comments
 (0)