Skip to content

Instantly share code, notes, and snippets.

View willard-yuan's full-sized avatar
🎯
Focusing

Yong Yuan willard-yuan

🎯
Focusing
View GitHub Profile
@willard-yuan
willard-yuan / deploy.prototxt
Created June 8, 2017 12:50 — 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
net: "train_val.prototxt"
test_iter: 1000
test_interval: 500
base_lr: 0.001
lr_policy: "step"
gamma: 0.1
stepsize: 20000
display: 100
max_iter: 10000
momentum: 0.9
name: "VGG_ILSVRC_16_layers"
layer {
name: "data"
type: "Data"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// OpenCV can be used to read images.
#include <opencv2/opencv.hpp>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <string>
#include <iostream>
// The VLFeat header files need to be declared external.
extern "C"{
#include <vl/generic.h>