Skip to content

Commit

Permalink
Update DEN_run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yhgon committed Feb 6, 2019
1 parent 0211e53 commit 434c1e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion DEN_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
flags.DEFINE_float("lr", 0.001, "Learing rate(init) for train")
flags.DEFINE_integer("batch_size", 256, "The size of batch for 1 iteration")
flags.DEFINE_string("checkpoint_dir", "checkpoints", "Directory path to save the checkpoints")
flags.DEFINE_integer("dims", [784, 312, 128, 10], "Dimensions about layers including output")
flags.DEFINE_integer("dims0", 784, "Dimensions about input layer")
flags.DEFINE_integer("dims1", 312, "Dimensions about 1st layer")
flags.DEFINE_integer("dims2", 128, "Dimensions about 2nd layer")
flags.DEFINE_integer("dims3", 10, "Dimensions about output layer")
flags.DEFINE_integer("n_classes", 10, 'The number of classes at each task')
flags.DEFINE_float("l1_lambda", 0.00001, "Sparsity for L1")
flags.DEFINE_float("l2_lambda", 0.0001, "L2 lambda")
Expand Down

0 comments on commit 434c1e8

Please sign in to comment.