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
name: "PVANET-lite" | |
# https://raw.githubusercontent.com/sanghoon/pva-faster-rcnn/master/models/pvanet/lite/original.pt | |
################################################################################ | |
## Input | |
################################################################################ | |
layer { | |
name: 'input-data' |
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
name: "SqueezeNet_Residual" | |
layer { | |
name: "data" | |
type: "Data" | |
top: "data" | |
top: "label" | |
include { | |
phase: TRAIN | |
} | |
transform_param { |
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
# please cite: | |
# @article{SqueezeNet, | |
# Author = {Forrest N. Iandola and Matthew W. Moskewicz and Khalid Ashraf and Song Han and William J. Dally and Kurt Keutzer}, | |
# Title = {SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and $<$1MB model size}, | |
# Journal = {arXiv:1602.07360}, | |
# Year = {2016} | |
# } | |
name: "SqueezeNet_1.1" | |
layer { | |
name: "data" |
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
name: "VGG_VOC0712_SSD_300x300_train" | |
layer { | |
name: "data" | |
type: "AnnotatedData" | |
top: "data" | |
top: "label" | |
include { | |
phase: TRAIN | |
} | |
transform_param { |
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
var spawn = require('child_process').spawn; | |
var fs = require('fs'); | |
var path = require('path'); | |
var seq = require('seq'); | |
var findit = require('findit'); | |
var BufferedStream = require('morestreams').BufferedStream; | |
module.exports = function (inStream) { | |
var id = Math.floor(Math.random() * (1<<30)).toString(16); | |
var tmpDir = path.join('/tmp', id); |
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
# please cite: | |
# @article{SqueezeNet, | |
# Author = {Forrest N. Iandola and Matthew W. Moskewicz and Khalid Ashraf and Song Han and William J. Dally and Kurt Keutzer}, | |
# Title = {SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and $<$1MB model size}, | |
# Journal = {arXiv:1602.07360}, | |
# Year = {2016} | |
#} | |
input: "data" | |
input_shape { |
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
export TERM=xterm-256color | |
if tput setaf 1 &> /dev/null; then | |
tput sgr0 | |
if [[ $(tput colors) -ge 256 ]] 2>/dev/null; then | |
MAGENTA=$(tput setaf 9) | |
ORANGE=$(tput setaf 172) | |
GREEN=$(tput setaf 190) | |
PURPLE=$(tput setaf 141) | |
WHITE=$(tput setaf 256) |
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
" runtime | |
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after | |
execute pathogen#infect() | |
" tabs in makefiles | |
filetype plugin on | |
filetype indent on | |
autocmd FileType make setlocal noexpandtab |
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
--- a/lib/makefile | |
+++ b/lib/makefile | |
@@ -1,7 +1,7 @@ | |
include config.mk | |
#CC += -faddress-sanitizer -fno-omit-frame-pointer | |
-CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage | |
+CFLAGS := -O3 -ffast-math -Wall $(CFLAGS)# -fprofile-arcs -ftest-coverage -I/usr/local/include -L/usr/local/lib | |
.PHONY: all clean |
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
#!/bin/bash | |
if [ $# -lt 3 ] | |
then | |
echo "usage: ./setup-wifi.sh INTERFACE ACCESS_POINT_SSID PASSPHRASE" | |
echo "example: ./setup-wifi.sh wlan0 linksys supersecret" | |
exit; | |
fi | |
wpa_passphrase $2 $3 > wifi.conf |