This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:294) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: java.lang.ExceptionInInitializerError | |
at org.nd4j.linalg.jcublas.buffer.BaseCudaDataBuffer.<clinit>(BaseCudaDataBuffer.java:72) | |
at org.nd4j.linalg.jcublas.buffer.factory.CudaDataBufferFactory.createFloat(CudaDataBufferFactory.java:251) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CudaTester { | |
public static void main(String[] args) { | |
// This first line should be at the top to force the system to use several available GPUs. By default, it takes 1 GPU | |
CudaEnvironment.getInstance().getConfiguration().allowMultiGPU(true); | |
System.out.println("\n\n\nMultiple GPU Using Configuration Loaded ---- OK\n\n"); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bikash@albinoni:~/workspace/projects/srl$ mvn exec:java -Dexec.mainClass="utils.MyDeepNN.CoreClasses.CustomDataSetReader" | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for bikash:srl:jar:0.1-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ line 45, column 21 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. | |
[WARNING] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for bikash:srl:jar:0.1-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-enforcer-plugin is missing. @ line 45, column 21 | |
[WARNING] | |
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. | |
[WARNING] | |
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects. | |
[WARNING] | |
[INFO] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* * Copyright 2015 Skymind,Inc. | |
* * | |
* * Licensed under the Apache License, Version 2.0 (the "License"); | |
* * you may not use this file except in compliance with the License. | |
* * You may obtain a copy of the License at | |
* * | |
* * http://www.apache.org/licenses/LICENSE-2.0 | |
* * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.nd4j.linalg.api.ndarray.INDArray; | |
import org.nd4j.linalg.factory.Nd4j; | |
public class Test { | |
public static void main(String[] args) { | |
INDArray two_by_one = Nd4j.zeros(2,1); | |
INDArray one_by_two = Nd4j.ones(1,2); | |
INDArray result = two_by_one.add(one_by_two); | |
System.out.println("result = "+result); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WARNING] thread Thread[ResourceGC thread 0,5,utils.MyRNN.RunMYRNN] was interrupted but is still alive after waiting at least 14999msecs | |
[WARNING] thread Thread[ResourceGC thread 0,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[ResourceGC thread 1,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[ResourceGC thread 2,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[ResourceGC thread 3,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[UniGC thread 0,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[UniGC thread 1,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[UniGC thread 2,5,utils.MyRNN.RunMYRNN] will linger despite being asked to die via interruption | |
[WARNING] thread Thread[UniGC thre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09:11:00.135 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for BLAS: 4 | |
09:11:01.558 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 0 is 72.24593505859374 | |
09:11:02.996 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 1 is 13.998971557617187 | |
09:11:03.688 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 2 is 1.2472177505493165 | |
Running for epochs : 1 | |
09:11:05.214 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 3 is 71.99242553710937 | |
09:11:06.477 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 4 is 13.928001403808594 | |
09:11:07.151 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 5 is 1.23978271484375 | |
Running for epochs : 2 | |
09:11:08.587 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 6 is 71.7451416015625 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running for epochs : 0 | |
09:29:50.595 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for BLAS: 4 | |
09:29:55.245 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 0 is 87.54283447265625 | |
Running for epochs : 1 | |
09:29:59.489 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 1 is 87.127880859375 | |
Running for epochs : 2 | |
09:30:03.906 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 2 is 86.71815795898438 | |
Running for epochs : 3 | |
09:30:08.074 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 3 is 86.29917602539062 | |
Running for epochs : 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running for epochs : 0 | |
09:11:00.135 [main] INFO org.nd4j.nativeblas.Nd4jBlas - Number of threads used for BLAS: 4 | |
09:11:01.558 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 0 is 72.24593505859374 | |
09:11:02.996 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 1 is 13.998971557617187 | |
09:11:03.688 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 2 is 1.2472177505493165 | |
Running for epochs : 1 | |
09:11:05.214 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 3 is 71.99242553710937 | |
09:11:06.477 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 4 is 13.928001403808594 | |
09:11:07.151 [main] INFO o.d.o.l.ScoreIterationListener - Score at iteration 5 is 1.23978271484375 | |
Running for epochs : 2 |
OlderNewer