Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CLI train, profile and forward #413


remove unneed `force` flag.

  • Loading branch information...
TE-YukioOobuchi committed Apr 17, 2019
commit ab10a0fc4df060567db694e80bba49bb4381714d
@@ -83,7 +83,7 @@ def _save_parameters(args, suffix, epoch, force=False):
base = os.path.join(args.outdir, 'results')
filename = base + '.nnp'

if force or (not os.path.exists(filename) and (force or timediff > 180.0 or epochdiff > 10)):
if force or (not os.path.exists(filename) and (timediff > 180.0 or epochdiff > 10)):

# Remove existing nnp before saving new file.
for exist in exists:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.