- Set up Visual Studio 2015 and CUDA/CUDNN according to https://gist.github.com/zentralwerkstatt/d4c1cc56b9c99d33411aae3c296b578d
- Download and install cmake from https://cmake.org/download/
- Download dlib from http://dlib.net/
- Download openCV from https://sourceforge.net/projects/opencvlibrary/
- Extract openCV and add
opencv\build
to user path environment variable - Extract dlib
cd dlib-19.4\dlib-19.4\examples
mkdir build
cd build
cmake -G "Visual Studio 14 2015 Win64" ..
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: "SphereFaceNet" | |
layer { | |
name: "data" | |
type: "ImageData" | |
top: "data" | |
top: "label" | |
transform_param { | |
mean_value: 127.5 | |
mean_value: 127.5 | |
mean_value: 127.5 |
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
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” |
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
# 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 |
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: "GoogleNet" | |
input: "data" | |
input_dim: 10 | |
input_dim: 3 | |
input_dim: 224 | |
input_dim: 224 | |
# hierarchy 1 | |
# conv -> relu -> pool -> lrn |
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
#include <opencv2/opencv.hpp> | |
#include <iostream> | |
#include <vector> | |
#include <cmath> | |
#include <assert.h> | |
using namespace std; | |
using namespace cv; |
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
#!/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, |
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
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 |
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
#!/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" |
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: "NormFace-ResNet" | |
layer { | |
name: "data" | |
type: "ImageData" | |
top: "data" | |
top: "label" | |
include { | |
phase: TRAIN | |
} | |
transform_param { |