Skip to content

Commit

Permalink
Merge pull request #10 from fgvbrt/master
Browse files Browse the repository at this point in the history
fix eval script
  • Loading branch information
aidangomez committed Jun 17, 2019
2 parents e84971d + d8f299e commit 87cf2a0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/prune/eval.py
Expand Up @@ -20,16 +20,14 @@ def init_flags():
tf.flags.DEFINE_string("data_dir", None, "The data directory.")
tf.flags.DEFINE_integer("train_steps", 10000,
"Number of training steps to perform.")
tf.flags.DEFINE_integer("eval_steps", 100,
"Number of evaluation steps to perform.")
tf.flags.DEFINE_integer("eval_every", 1000,
"Number of steps between evaluations.")
tf.flags.DEFINE_string(
"post_weights_dir", "",
"folder of the weights, if not set defaults to output_dir")
tf.flags.DEFINE_string("prune_percent", "0.5",
"percent of weights to prune, comma separated")
tf.flags.DEFINE_string("prune", "one_shot", "one_shot or fisher")
tf.flags.DEFINE_string("prune", "weight", "one_shot or fisher")
tf.flags.DEFINE_boolean("variational", False, "use evaluate")
tf.flags.DEFINE_string("eval_file", "eval_prune_results",
"file to put results")
Expand Down

0 comments on commit 87cf2a0

Please sign in to comment.