Skip to content

Instantly share code, notes, and snippets.

name: "VGG_VOC0712_SSD_300x300_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
@bmount
bmount / squeeze_1.1.prototxt
Last active August 15, 2016 19:47
squeezenet 1.1
# 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"
# 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 {
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)
@bmount
bmount / .vimrc
Last active February 18, 2016 19:41
vimrc
" 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
@bmount
bmount / keep_history.shell
Created December 9, 2015 00:12
Keep all of your shell history forever
HOSTNAME_SHORT="${HOSTNAME%%.*}"
his ()
{
grep -r "$@" ~/.history
history | grep "$@"
}
export HISTFILESIZE=10000
export HISTFILE="${HOME}/.history/$(date -u +%Y/%m/%d.%H.%M.%S)_${HOSTNAME_SHORT}_$$"
#!/bin/bash
usage()
{
cat << EOF
usage: $0 options
Everything except --help takes a single dash.
OPTIONS:
<!doctype html>
<meta charset="utf-8">
<body>
<form action=# method="GET">
Zip code: <input id=zip-query type="text" name="zip" />
<input id=zip-submit type="submit" value="Submit" />
</form>
@bmount
bmount / opencl-error-codes.txt
Created June 5, 2014 00:10
OpenCL Error Codes
CL_SUCCESS 0
CL_DEVICE_NOT_FOUND -1
CL_DEVICE_NOT_AVAILABLE -2
CL_COMPILER_NOT_AVAILABLE -3
CL_MEM_OBJECT_ALLOCATION_FAILURE -4
CL_OUT_OF_RESOURCES -5
CL_OUT_OF_HOST_MEMORY -6
CL_PROFILING_INFO_NOT_AVAILABLE -7
CL_MEM_COPY_OVERLAP -8
CL_IMAGE_FORMAT_MISMATCH -9
@bmount
bmount / .vimrc
Created May 5, 2014 09:05
Vimrc, go fmt, def, makefile, markdown
" runtime
set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after
execute pathogen#infect()
" tabs in makefiles
set nocompatible
set visualbell
" global