1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 11:10:20 +01:00

docs update + removing unused code from parallel_actor

This commit is contained in:
Gal Leibovich
2017-10-19 16:32:13 +03:00
parent f7979b05e4
commit 8c708820a9
4 changed files with 2 additions and 10 deletions

View File

@@ -29,14 +29,6 @@ import shutil
start_time = time.time()
# Disables write_meta_graph argument, which freezes entire process and is mostly useless.
class FastSaver(tf.train.Saver):
def save(self, sess, save_path, global_step=None, latest_filename=None,
meta_graph_suffix="meta", write_meta_graph=True):
super(FastSaver, self).save(sess, save_path, global_step, latest_filename,
meta_graph_suffix, False)
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument('--ps_hosts',