Skip to content

Instantly share code, notes, and snippets.

@thundertrick
thundertrick / GLSL-Noise.md
Created November 17, 2017 07:26 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}
@thundertrick
thundertrick / enet_train_encoder.prototxt
Created December 11, 2017 02:57
Enet prototxt: enet_train_encoder
name: "ENet"
layer {
name: "data"
type: "DenseImageData"
top: "data"
top: "label"
dense_image_data_param {
source: "ENet/dataset/train_fine_2columns.txt"
batch_size: 4
shuffle: true
@thundertrick
thundertrick / enet_deploy_final.prototxt
Last active December 11, 2017 03:01
Enet: enet_deploy_final.prototxt
name: "ENet"
layer {
name: "data"
type: "Input"
top: "data"
input_param {
shape {
dim: 1
dim: 3
dim: 512
@thundertrick
thundertrick / pose_deploy.prototxt
Created December 25, 2017 08:48
face pose model of Openpose
input: "image"
input_dim: 1
input_dim: 3
input_dim: 1 # Original: 368
input_dim: 1 # Original: 368
# input: "weights"
# input_dim: 1
# input_dim: 71
# input_dim: 184
# input_dim: 184