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

Dev #11

Merged
merged 7 commits into from
Jun 4, 2022
Merged

Dev #11

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ PS:
2. An alternative way is building your own NFS for your physical machines and locate data_root to the NFS.

# TODO
- [ ] video visualization.
- [ ] support sftp-based sync.
- [ ] support custom data structure saving and loading.
- [ ] support video visualization.
- [ ] add comments and documents to the functions.
- [ ] add an auto integration script.
- [ ] download / upload experiment logs through timestamp.
Expand Down
2 changes: 1 addition & 1 deletion RLA/easy_log/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def configure(dir=None, format_strs=None, comm=None, framework='tensorflow'):
if format_strs is None:
format_strs = os.getenv('OPENAI_LOG_FORMAT', 'stdout,log,csv').split(',')
format_strs = filter(None, format_strs)
output_formats = [make_output_format(f, dir, log_suffix) for f in format_strs]
output_formats = [make_output_format(f, dir, log_suffix, framework) for f in format_strs]
warn_output_formats = make_output_format('warn', dir, log_suffix, framework)
backup_output_formats = make_output_format('backup', dir, log_suffix, framework)

Expand Down
2 changes: 1 addition & 1 deletion RLA/easy_log/tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def _init_logger(self):
self.writer = None
# logger configure
logger.info("store file %s" % self.pkl_file)
logger.configure(self.log_dir, self.private_config["LOG_USED"])
logger.configure(self.log_dir, self.private_config["LOG_USED"], framework=self.private_config["DL_FRAMEWORK"])
for fmt in logger.Logger.CURRENT.output_formats:
if isinstance(fmt, logger.TensorBoardOutputFormat):
self.writer = fmt.writer
Expand Down