-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
Codecov Report
@@ 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
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
3f08226
to
74ee53a
Compare
cfg_name
in meta info
two comments:
|
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) |
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.
for privacy reasons, dir name of the work dir is good. you can use os.path.basename(blablah.rstrip('/\\'))
No description provided.