Unverified Commit 1b101599 authored by Mark Kockerbeck's avatar Mark Kockerbeck Committed by GitHub
Browse files

Adding should_continue check for retraining (#3509)

parent 390c1285
......@@ -624,6 +624,7 @@ def main():
and os.listdir(args.output_dir)
and args.do_train
and not args.overwrite_output_dir
and not args.should_continue
):
raise ValueError(
"Output directory ({}) already exists and is not empty. Use --overwrite_output_dir to overcome.".format(
......
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