Skip to content

Instantly share code, notes, and snippets.

View agibsonccc's full-sized avatar

Adam Gibson agibsonccc

View GitHub Profile
[mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mul, mul, neg, neg, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, mmul, neg, neg, mmul, mmul, mul, mul, mmul, mmul, neg, neg, mmul, mmul, mmul, mmul]
nable to parse command line options: Missing argument for option: pl
usage: mvn [options] [<goal(s)>] [<phase(s)>]
Options:
-am,--also-make If project list is specified, also
build projects required by the
list
-amd,--also-make-dependents If project list is specified, also
build projects that depend on
14:13:29,434 ERROR ~ at org.deeplearning4j.parallelism.ParallelInference$InferenceWorker.run(ParallelInference.java:297)
14:13:29,434 ERROR ~ Caused by: java.lang.OutOfMemoryError: Failed to allocate memory within limits: totalBytes = 7G + 76M > maxBytes = 7G
14:13:29,434 ERROR ~ at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:568)
14:13:29,434 ERROR ~ at org.bytedeco.javacpp.Pointer.init(Pointer.java:121)
14:13:29,434 ERROR ~ at org.bytedeco.javacpp.DoublePointer.allocateArray(Native Method)
14:13:29,434 ERROR ~ at org.bytedeco.javacpp.DoublePointer.<init>(DoublePointer.java:68)
14:13:29,434 ERROR ~ ... 24 more
14:13:34,160 INFO ~ Initializing ObservablesProvider...
14:13:34,161 INFO ~ 14:13:34,160 INFO ~ Initializing ObservablesProvider...
14:13:34,161 INFO ~ No model found yet.
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to You 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
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (safepoint.cpp:310), pid=25726, tid=0x00007f2145a1b700
# guarantee(PageArmed == 0) failed: invariant
#
# JRE version: Java(TM) SE Runtime Environment (8.0_111-b14) (build 1.8.0_111-b14)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.111-b14 mixed mode linux-amd64 compressed oops)
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
This file has been truncated, but you can view the full file.
elEndPoint@6abeb378{/127.0.0.1:36298<->8080,Open,in,out,-,-,1/300000,WebSocketServerConnection}{io=0,kio=0,kro=1}]{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Generator[SERVER,validating],p=Parser@1eca60ae[ExtensionStack,s=START,c=0,len=51,f=null,p=WebSocketPolicy@3f91f09[behavior=SERVER,maxTextMessageSize=1024000,maxTextMessageBufferSize=32768,maxBinaryMessageSize=65536,maxBinaryMessageBufferSize=32768,asyncWriteTimeout=60000,idleTimeout=300000,inputBufferSize=4096]]}
20:29:42,144 DEBUG ~ FILLING-->FILLING_FILL_INTERESTED WebSocketServerConnection@64a5a0bc[FILLING_FILL_INTERESTED,SelectChannelEndPoint@6abeb378{/127.0.0.1:36298<->8080,Open,in,out,-,-,1/300000,WebSocketServerConnection}{io=0,kio=0,kro=1}]{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Generator[SERVER,validating],p=Parser@1eca60ae[ExtensionStack,s=START,c=0,len=51,f=null,p=WebSocketPolicy@3f91f09[behavior=SERVER,maxTextMessageSize=1024000,maxTextMessageBufferSize=32768,maxBinaryMessageSize=65536,maxBinaryMessageBufferSize=3276
/usr/java/latest/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/home/agibsonccc/ides/intellij/lib/idea_rt.jar=34671:/home/agibsonccc/ides/intellij/bin -Dfile.encoding=UTF-8 -classpath /home/agibsonccc/ides/intellij/lib/idea_rt.jar:/home/agibsonccc/ides/intellij/plugins/junit/lib/junit-rt.jar:/usr/java/latest/jre/lib/charsets.jar:/usr/java/latest/jre/lib/deploy.jar:/usr/java/latest/jre/lib/ext/cldrdata.jar:/usr/java/latest/jre/lib/ext/dnsns.jar:/usr/java/latest/jre/lib/ext/jaccess.jar:/usr/java/latest/jre/lib/ext/jfxrt.jar:/usr/java/latest/jre/lib/ext/localedata.jar:/usr/java/latest/jre/lib/ext/nashorn.jar:/usr/java/latest/jre/lib/ext/sunec.jar:/usr/java/latest/jre/lib/ext/sunjce_provider.jar:/usr/java/latest/jre/lib/ext/sunpkcs11.jar:/usr/java/latest/jre/lib/ext/zipfs.jar:/usr/java/latest/jre/lib/javaws.jar:/usr/java/latest/jre/lib/jce.jar:/usr/java/latest/jre/lib/jfr.jar:/usr/java/latest/jre/lib/jfxswt.jar:/usr/java/latest/jre/lib/jsse.jar:/usr/java/latest/jre/lib/management-agent.jar:/usr/j
Graph<NDArrayInformation,OpState> graph = new Graph<>();
ArrayFactory arrayFactory = new ArrayFactory(graph);
DifferentialFunctionFactory<ArrayField> arrayFieldDifferentialFunctionFactory = new DifferentialFunctionFactory<>(graph,arrayFactory);
NDArrayInformation xInfo = NDArrayInformation.
builder().
shape(new int[]{1,1}).
id("x").
build();
NDArrayVertex xVertex = new NDArrayVertex(0,xInfo);
import jnius_config
import os
try:
jnius_classpath = os.environ['KERAS_DL4J_CLASSPATH']
except KeyError:
jnius_classpath = '/home/agibsonccc/code/nd4jjcc/target/nd4j-jcc-1.0-SNAPSHOT-dist/nd4j-jcc-1.0-SNAPSHOT/lib/*'
jnius_config.set_classpath(jnius_classpath)
from jnius import autoclass
In [34]: pointer, read_only_flag = a.__array_interface__['data']
...:
In [35]: buffer_pointer = native_ops.pointerForAddress(pointer)
In [36]: as_double = DoublePointer(buffer_pointer)
In [37]: as_double.get(0)
Out[37]: 1.0