Commit 5d497296 authored by Shawn Wang's avatar Shawn Wang
Browse files

Use flagfile to pass flags to data async generation process: small fix.

parent c88fcb2b
...@@ -64,8 +64,8 @@ DUPLICATE_MASK = "duplicate_mask" ...@@ -64,8 +64,8 @@ DUPLICATE_MASK = "duplicate_mask"
CYCLES_TO_BUFFER = 3 # The number of train cycles worth of data to "run ahead" CYCLES_TO_BUFFER = 3 # The number of train cycles worth of data to "run ahead"
# of the main training loop. # of the main training loop.
COMMAND_FILE_TEMP = "command.json.temp" FLAGFILE_TEMP = "flagfile.temp"
COMMAND_FILE = "command.json" FLAGFILE = "flagfile"
READY_FILE_TEMP = "ready.json.temp" READY_FILE_TEMP = "ready.json.temp"
READY_FILE = "ready.json" READY_FILE = "ready.json"
TRAIN_RECORD_TEMPLATE = "train_{}.tfrecords" TRAIN_RECORD_TEMPLATE = "train_{}.tfrecords"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment