This file contains hidden or 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
^CProcess Process-27: | |
Process Process-25: | |
Process Process-26: | |
Process Process-30: | |
Process Process-29: | |
Traceback (most recent call last): | |
File "train.py", line 28, in <module> | |
trainer.fit(train_loader, val_loa |
This file contains hidden or 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
============================= test session starts ============================== | |
platform linux -- Python 3.5.3, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 | |
rootdir: /fast/keras-rcnn, inifile: setup.cfg | |
collected 9 items | |
tests/layers/object_detection/test_anchor_target.py FFFFFFFFF [100%] | |
=================================== FAILURES =================================== | |
__________________________________ test_label __________________________________ |
This file contains hidden or 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
============================= test session starts ============================== | |
platform linux -- Python 3.5.3, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 | |
rootdir: /fast/keras-rcnn, inifile: setup.cfg | |
collected 25 items | |
tests/backend/test_common.py .FFFFFF..FFF [ 48%] | |
tests/backend/test_tensorflow_backend.py .....F.....F. [100%] | |
=================================== FAILURES =================================== | |
__________________________________ test_clip ___________________________________ |
This file contains hidden or 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 re | |
import urllib2 | |
import gzip | |
import StringIO | |
import numpy as np | |
def readDataset(save=True): | |
content = '' | |
outFilePath = 'wikielect.txt' | |
try: |
This file contains hidden or 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 tensorflow as tf [8/15095] | |
import numpy as np | |
import timeit | |
def concatenate(tensors,axis=-1): | |
return tf.concat([x for x in tensors], axis) | |
def repeat_elements_original(x, rep, axis): | |
x_shape = x.get_shape().as_list() | |
# slices along the repeat axis |
This file contains hidden or 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
var fs = require('fs') | |
, buff = new Buffer(1500) | |
, fd = fs.openSync('/var/log/radius/radacct.log','r') | |
, position = fs.fstatSync(fd).size; | |
fs.read(fd,buff,0,1,position - 1,function(err,bytesRead,buffer){ | |
if(err) { | |
return console.log('err'); | |
} |
This file contains hidden or 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
console.log("Hello World Gist Runner!"); |
This file contains hidden or 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
var spawn = require('child_process').spawn; | |
worker = spawn('node',['worker.js']); | |
worker.stdout.on('data',function(data){ | |
console.log('worker sent:',data.toString()); | |
}); |
This file contains hidden or 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
Best way to convert acceptType object to a string like below? | |
From: | |
var acceptTypes = { | |
'Images': ['*.png','*.jpg'], | |
'Documents': ['*.docx'] | |
} | |
To: | |
var acceptType = 'Images:*.png,*.jpg;Documents:*.docx' |
This file contains hidden or 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
8.7M ./Contents/MacOS | |
4.0K ./Contents/Resources/am.lproj | |
4.0K ./Contents/Resources/app | |
4.0K ./Contents/Resources/ar.lproj | |
4.0K ./Contents/Resources/bg.lproj | |
20K ./Contents/Resources/blackberry | |
8.0K ./Contents/Resources/bn.lproj | |
4.0K ./Contents/Resources/ca.lproj | |
4.0K ./Contents/Resources/cs.lproj | |
4.0K ./Contents/Resources/da.lproj |
NewerOlder