Skip to content

Instantly share code, notes, and snippets.

name: "SphereFaceNet"
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
transform_param {
mean_value: 127.5
mean_value: 127.5
mean_value: 127.5
@walkoncross
walkoncross / kmskeys10.txt
Created August 3, 2017 22:22 — forked from CHEF-KOCH/kmskeys10.txt
Windows 10 KMS Keys
Windows.10.and.Office.2016.gVLK
#####################################################################
# Install/Uninstall keys #
#####################################################################
1.) Uninstall the current product by entering the “uninstall product key” extension:
slmgr.vbs /upk
2.) Install the key that you obtained above for “Windows Srv 2012R2 DataCtr/Std KMS for Windows 10”
# pylint: disable=C0111,too-many-arguments,too-many-instance-attributes,too-many-locals,redefined-outer-name,fixme
# pylint: disable=superfluous-parens, no-member, invalid-name
import sys
sys.path.insert(0, "../../python")
import mxnet as mx
import numpy as np
import cv2, random
from io import BytesIO
from captcha.image import ImageCaptcha
@walkoncross
walkoncross / googlenet_cars_deploy.prototxt
Last active September 5, 2017 19:40 — forked from bogger/deploy.prototxt
GoogLeNet_cars
name: "GoogleNet"
input: "data"
input_dim: 10
input_dim: 3
input_dim: 224
input_dim: 224
# hierarchy 1
# conv -> relu -> pool -> lrn
@walkoncross
walkoncross / instructions.md
Created June 22, 2017 15:35
Compile dlib with CUDA and openCV on Windows 10
@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 / 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 / .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 / 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"
name: "NormFace-ResNet"
layer {
name: "data"
type: "ImageData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {