File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
rl4j-examples/src/main/java/org/deeplearning4j/examples/rl4j Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 3434public 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 }
You can’t perform that action at this time.
0 commit comments