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

[Feature] add cfg_name in meta info #183

Merged
merged 5 commits into from
Sep 23, 2020
Merged

Conversation

dreamerlin
Copy link
Collaborator

No description provided.

@codecov
Copy link

codecov bot commented Sep 16, 2020

Codecov Report

Merging #183 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #183   +/-   ##
=======================================
  Coverage   84.14%   84.14%           
=======================================
  Files          79       79           
  Lines        4975     4975           
  Branches      789      789           
=======================================
  Hits         4186     4186           
  Misses        663      663           
  Partials      126      126           
Flag Coverage Δ
#unittests 84.14% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aeaa31d...0076ff9. Read the comment docs.

@dreamerlin dreamerlin changed the title [Feature] add exp_name in meta info [Feature] add cfg_name in meta info Sep 22, 2020
@innerlee
Copy link
Contributor

two comments:

  1. cfg vs config
  2. consider also to log workdir folder name?

tools/train.py Outdated
@@ -120,7 +120,8 @@ def main():
set_random_seed(args.seed, deterministic=args.deterministic)
cfg.seed = args.seed
meta['seed'] = args.seed
meta['cfg_name'] = osp.basename(args.config)
meta['config_name'] = osp.basename(args.config)
meta['work_dir'] = osp.abspath(cfg.work_dir)
Copy link
Contributor

Choose a reason for hiding this comment

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

for privacy reasons, dir name of the work dir is good. you can use os.path.basename(blablah.rstrip('/\\'))

@innerlee innerlee merged commit e4b3482 into open-mmlab:master Sep 23, 2020
@dreamerlin dreamerlin deleted the exp_name branch September 26, 2020 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants