Skip to content

Instantly share code, notes, and snippets.

Avatar

Andreas Madsen AndreasMadsen

View GitHub Profile
View gist:94f5100aff697cdf5ff6c26f90a6dad7
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/common_runtime/bfc_allocator.cc:274] ****************************************************************************************************
W tensorflow/core/common_runtime/bfc_allocator.cc:275] Ran out of memory trying to allocate 148.09MiB. See logs for memory state.
W tensorflow/core/framework/op_kernel.cc:993] Resource exhausted: OOM when allocating tensor with shape[2560,892,1,17]
Traceback (most recent call last):
File "/zhome/ff/2/77654/stdpy3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1022, in _do_call
return fn(*args)
File "/zhome/ff/2/77654/stdpy3/lib/python3.6/site-p
View test_case.py
import numpy as np
import tensorflow as tf
import sugartensor as stf
# set log level to debug
stf.sg_verbosity(10)
@stf.sg_layer_func
@AndreasMadsen
AndreasMadsen / log
Created Jan 19, 2017
tensorflow test output
View log
INFO: Found 1289 targets and 839 test targets...
INFO: From Building tensorflow/java/SessionTest.jar (1 source file):
Note: tensorflow/java/src/test/java/org/tensorflow/SessionTest.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
INFO: From Linking tensorflow/core/platform/default/gpu/libcupti_wrapper.pic.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/local-py3-opt/bin/tensorflow/core/platform/default/gpu/_objs/cupti_wrapper/tensorflow/core/platform/default/gpu/cupti_wrapper.pic.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: bazel-out/local-py3-opt/bin/tensorflow/core/platform/default/gpu/libcupti_wrapper.pic.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking tensorflow/core/platform/default/gpu/libcupti_wrapper.a:
/Applications/Xcode.app/Con
View recursion_error.log
/Users/Andreas/Sites/tensorflow/_python_build/tensorflow/python/framework/function.py:969: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead
argspec = inspect.getargspec(func)
EE.
======================================================================
ERROR: testDouble (__main__.SparsemaxTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/sparsemax_test.py", line 258, in testDouble
self._test_dtype('float64')
File "tensorflow/tensorflow/contrib/sparsemax/python/kernel_tests/sparsemax_test.py", line 224, in _test_dtype
View dprof.json
This file has been truncated, but you can view the full file.
@AndreasMadsen
AndreasMadsen / log.txt
Created Oct 15, 2016
gcc: error trying to exec 'as': execvp: No such file or directory
View log.txt
$ yes "" | CC=gcc CXX=g++ ./configure
Found possible Python library paths:
/zhome/ff/2/77654/stdpy3/lib/python3.5/site-packages
Please input the desired Python library path to use. Default is [/zhome/ff/2/77654/stdpy3/lib/python3.5/site-packages]
/zhome/ff/2/77654/stdpy3/lib/python3.5/site-packages
INFO: Reading 'startup' options from /zhome/ff/2/77654/.bazelrc: --batch --output_user_root=/work1/s123598/.bazel
INFO: Starting clean (this may take a while). Consider using --expunge_async if the clean takes more than several minutes.
INFO: Reading 'startup' options from /zhome/ff/2/77654/.bazelrc: --batch --output_user_root=/work1/s123598/.bazel
INFO: All external dependencies fetched successfully.
Configuration finished
View agg.R
#!/usr/bin/env Rscript
library(stringr);
library(plyr);
dat = read.csv(file('stdin'), strip.white=TRUE);
dat = data.frame(dat);
dat$group = str_extract(dat$filename, "^[^/]+");
byfile = ddply(dat, c('filename'), function(subdat) {
@AndreasMadsen
AndreasMadsen / lm.R
Last active Aug 18, 2016
http/simple.js compareing using two benchmarkers
View lm.R
#!/usr/bin/env Rscript
library(ggplot2);
library(plyr);
# parse data
dat.autocannon = read.csv('simple-autocannon.csv');
dat.wrk = read.csv('simple-wrk.csv');
# combine data
dat.autocannon$benchmarker = ' autocannon';
View simple.csv
filename c chunks length type rate time
http/simple.js 50 0 4 bytes 12792.92 10.019175265
http/simple.js 500 0 4 bytes 12563.93 10.061565233
http/simple.js 50 1 4 bytes 13476.32 10.11492172
http/simple.js 500 1 4 bytes 12790.91 10.072104875
http/simple.js 50 4 4 bytes 7573.24 10.022670265
http/simple.js 500 4 4 bytes 8168.58 10.078595719
http/simple.js 50 0 1024 bytes 13598.24 10.114329918
http/simple.js 500 0 1024 bytes 12959.98 10.06073768
http/simple.js 50 1 1024 bytes 8173.07 10.021258813
@AndreasMadsen
AndreasMadsen / simple.csv
Last active Aug 17, 2016
http/simple.js benchmark
View simple.csv
filename c chunks length type rate time
http/simple.js 500 0 1024 buffer 12561.08 10.070019665
http/simple.js 500 0 1024 buffer 12295.47 10.067049961
http/simple.js 500 0 1024 buffer 12358.86 10.116325268
http/simple.js 500 0 1024 buffer 12293.9 10.064770704
http/simple.js 500 0 1024 buffer 12272.14 10.07143516
http/simple.js 500 0 1024 buffer 12453.61 10.070998224
http/simple.js 500 0 1024 buffer 12703.56 10.069003942
http/simple.js 500 0 1024 buffer 12522.2 10.066801084
http/simple.js 500 0 1024 buffer 12406.31 10.07158091
You can’t perform that action at this time.