-
Notifications
You must be signed in to change notification settings - Fork 4.3k
[refactor] CLI changes #3705
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
[refactor] CLI changes #3705
Conversation
|
||
|
||
def handle_existing_directories( | ||
model_path: str, summary_path: str, resume: bool, force: bool |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that summary_path
isn't used yet but with consolidating all summaries into the same directory will be checked as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another minor comment, but looks good to me
self.summary_writers[category] = tf.summary.FileWriter(filewriter_dir) | ||
|
||
def _delete_all_events_files(self, directory_name: str) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: could add some logging to make the user aware this is happening.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
…gents into develop-cliflags
…gents into develop-cliflags
Proposed change(s)
--train
the default, and deprecate it (with warning message)--inference
flag for inference mode--load
with--resume
--force
to overwrite these files.TODO: Doc changes, changelogUseful links (Github issues, JIRA tickets, ML-Agents forum threads etc.)
MLA-787
Types of change(s)
Checklist
Other comments