2018-01-30 08:15:20 -05:00
|
|
|
import java.awt.AWTException;
|
|
|
|
import java.awt.Point;
|
2018-01-31 09:05:34 -05:00
|
|
|
import java.io.IOException;
|
2018-01-24 03:42:10 -05:00
|
|
|
import java.net.URL;
|
2018-01-23 21:50:06 -05:00
|
|
|
|
2018-02-24 10:49:49 -05:00
|
|
|
import org.opencv.core.Core;
|
2018-02-28 00:16:57 -05:00
|
|
|
import org.tensorflow.*;
|
2018-01-31 00:04:07 -05:00
|
|
|
|
2018-01-23 21:50:06 -05:00
|
|
|
public class main {
|
|
|
|
|
2018-02-19 16:12:25 -05:00
|
|
|
public static void main(String[] args) throws Exception {
|
2018-02-22 09:28:21 -05:00
|
|
|
System.out.println("Starting Iron Miner.");
|
2018-03-13 10:33:32 -04:00
|
|
|
System.load("/usr/local/cuda/lib64/libcublas.so.9.0");
|
2018-03-03 20:04:03 -05:00
|
|
|
System.load("/usr/local/cuda/lib64/libcusolver.so.9.0");
|
|
|
|
System.load("/usr/local/cuda/lib64/libcudart.so.9.0");
|
|
|
|
System.load("/usr/local/cuda/lib64/libcufft.so.9.0");
|
|
|
|
System.load("/usr/local/cuda/lib64/libcurand.so.9.0");
|
2018-03-04 18:08:04 -05:00
|
|
|
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
|
2018-03-03 20:04:03 -05:00
|
|
|
System.load("/home/dpapp/jni/libtensorflow_jni.so");
|
2018-02-28 00:16:57 -05:00
|
|
|
|
2018-02-22 09:28:21 -05:00
|
|
|
IronMiner ironMiner = new IronMiner();
|
|
|
|
ironMiner.run();
|
2018-01-30 04:14:17 -05:00
|
|
|
|
2018-03-13 10:33:32 -04:00
|
|
|
System.out.println("Finished everything!");
|
2018-01-23 21:50:06 -05:00
|
|
|
}
|
|
|
|
}
|