Skip to content

Instantly share code, notes, and snippets.

name: "CenterFace-ResNet"
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "NormFace-Resnet"
input: "data"
input_dim: 100
input_dim: 3
input_dim: 112
input_dim: 96
layer {
name: "flip_data"
type: "Flip"
bottom: "data"
name: "NormFace-ResNet"
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
@walkoncross
walkoncross / wget_baidu_yun.sh
Created May 27, 2017 14:22 — forked from myfavouritekk/wget_baidu_yun.sh
Download Baidu Yun file using wget
#!/usr/bin/env bash
# referer url is public share links
# file url can be found via browser downloading
referer_url=$1
file_url=$2
save_name=$3
wget --referer=$referer_url -O $save_name "$file_url"
@walkoncross
walkoncross / .travis.yml
Created May 30, 2017 10:35 — forked from sachin-handiekar/.travis.yml
C++ Sample travis.yml file
sudo: required
before_install:
- sudo apt-get install libao-dev
- sudo apt-get install libcurl4-openssl-dev
- chmod +x installMPG123.sh
- ./installMPG123.sh
# Enable C++ support
language: cpp
@walkoncross
walkoncross / tserv
Created June 1, 2017 14:35 — forked from jiffyclub/tserv
Start a Tornado static file server in a given directory. To start the server in the current directory: `tserv .`. Then go to `http://localhost:8000` to browse the directory.
#!/usr/bin/env python
"""
Starts a Tornado static file server in a given directory.
To start the server in the current directory:
tserv .
Then go to http://localhost:8000 to browse the directory.
Use the --prefix option to add a prefix to the served URL,
@walkoncross
walkoncross / poisson.cpp
Created June 9, 2017 21:21 — forked from thorikawa/poisson.cpp
Poisson Image Editing OpenCV
#include <opencv2/opencv.hpp>
#include <iostream>
#include <vector>
#include <cmath>
#include <assert.h>
using namespace std;
using namespace cv;
@walkoncross
walkoncross / instructions.md
Created June 22, 2017 15:35
Compile dlib with CUDA and openCV on Windows 10