Skip to content

Instantly share code, notes, and snippets.

View paul356's full-sized avatar

paul356 paul356

  • N/A
  • Blue planet
View GitHub Profile
name: "StructureFeatureNet"
#-------------- Train data -----------------
layer {
name: "data"
type: "Data"
top: "data"
include {
phase: TRAIN
}
transform_param {
@paul356
paul356 / TestModel.py
Created October 11, 2017 14:24
python translation of TestModel.m in CVPR paper "Strucutured Feature Learning for Pos Estimation" code
import caffe
import numpy
import matplotlib.pyplot as pyplot
import skimage.io as skimage_io
import scipy.misc as scipy_misc
import math
name = 'lsp_basic'
deploy_file = './protofiles/deploy.prototxt'
model_file = './cache/lspmodel.caffemodel'; # our provided model
@paul356
paul356 / clojure-ctags.md
Last active November 7, 2022 14:35
Add Clojure support to exuberant ctags and vim-tagbar

ctags

Add the following to ~/.ctags (thanks, xzj / clojure.ctags):

--langdef=Clojure
--langmap=Clojure:.clj
--langmap=Clojure:+.cljs
--langmap=Clojure:+.cljx
--regex-clojure=/\([ \t]*create-ns[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/n,namespace/
--regex-clojure=/\([ \t]*def[ \t]+([-[:alnum:]*+!_:\/.?]+)/\1/d,definition/