Skip to content

Instantly share code, notes, and snippets.

View JeffOwOSun's full-sized avatar

Yushi Sun JeffOwOSun

  • Google
  • Bay Area
  • 06:33 (UTC -07:00)
View GitHub Profile
@JeffOwOSun
JeffOwOSun / PokerTest.java
Created March 11, 2016 18:51 — forked from mosdragon/PokerTest.java
Example of how to use ABAGAIL for Randomized Optimization of Neural Network Weights
package opt.test;
import func.nn.backprop.BackPropagationNetwork;
import func.nn.backprop.BackPropagationNetworkFactory;
import func.nn.backprop.BatchBackPropagationTrainer;
import func.nn.backprop.RPROPUpdateRule;
import opt.OptimizationAlgorithm;
import opt.RandomizedHillClimbing;
import opt.SimulatedAnnealing;
import opt.example.NeuralNetworkOptimizationProblem;
name: "VGG_VOC0712_SSD_300x300_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_with_extra_regressor_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_no_dilation_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_receptive_field_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_branch_conv3_3_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_branch_conv3_3_fixed_size_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_branch_conv3_3_frozen_ssd_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_branch_conv3_3_conv4_3_fixed_size_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
name: "VGG_VOC0712_SSD_300x300_conv3_3_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {