Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

fix nnictl log and experiment save/load #3168

Merged
merged 2 commits into from
Dec 11, 2020

Conversation

J-shang
Copy link
Contributor

@J-shang J-shang commented Dec 9, 2020

No description provided.

@@ -854,8 +854,9 @@ def save_experiment(args):
except IOError:
print_error('Write file to %s failed!' % os.path.join(temp_nnictl_dir, '.experiment'))
exit(1)
nnictl_config_dir = os.path.join(NNICTL_HOME_DIR, args.id)
shutil.copytree(nnictl_config_dir, os.path.join(temp_nnictl_dir, args.id))
nnictl_config_dir = os.path.join(NNICTL_HOME_DIR, args.id, 'log')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nnictl_log_dir?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yes, nnictl_log_dir is better.

@liuzhe-lz liuzhe-lz merged commit c48623d into microsoft:master Dec 11, 2020
@J-shang J-shang deleted the fix-nnictl-log branch December 15, 2020 02:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants