Created
June 15, 2015 17:01
-
-
Save lahwran/8f192228c6a40d761c74 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| layer_defs = []; | |
| layer_defs.push({type:'input', out_sx:28, out_sy:28, out_depth:1}); | |
| layer_defs.push({type:'conv', sx:5, filters:8, stride:2, pad:2, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:20, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:4, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:10, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
| layer_defs.push({type:'fc', num_neurons:50, activation:'tanh'}); | |
| layer_defs.push({type:'regression', num_neurons:28*28}); | |
| net = new convnetjs.Net(); | |
| net.makeLayers(layer_defs); | |
| trainer = new convnetjs.SGDTrainer(net, {learning_rate:1, method:'adadelta', batch_size:50, l2_decay:0.001, l1_decay:0.001}); |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
parameters for http://cs.stanford.edu/people/karpathy/convnetjs/demo/autoencoder.html - I mucked with the layers too