-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Enhancement] Refactor metric and loop #1540
[Enhancement] Refactor metric and loop #1540
Conversation
ae4965c
to
b2fc76d
Compare
a071059
to
b219a43
Compare
426d526
to
b3097dd
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## refactor-metric-loop-and-preprocessor #1540 +/- ##
========================================================================
Coverage ? 88.97%
========================================================================
Files ? 398
Lines ? 25956
Branches ? 4080
========================================================================
Hits ? 23095
Misses ? 1996
Partials ? 865
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
b58d682
to
f858696
Compare
1867732
to
d2177f3
Compare
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.
Loops need to be reconsidered.
ac11791
to
970f85f
Compare
490a4e2
into
open-mmlab:refactor-metric-loop-and-preprocessor
* support new loops * refactor base sample wise metrics, FID and IS * adopt configs to new loops * refine EditLoops and add docstring and unit test for EditLoops * rename GenEvaluator to EditEvaluator * revise configs for new EditLoops and EditEvaluator * remove unused imported modules * revise unit test of BaseSampleWiseMetric * remove GenDataPreprocessor, GenLoop from configs, docstrings and tutorials * avoid raise duplicate conversion warning in EditDataprocessor * revise channel order conversion in FID metric * rename GenLogProcessor and GenIterTimeHook to EditLogProcessor and EditIterTimeHook * rename some elements in default_runtime * support non-scalar in get_log_after_epoch as MMEngine's LogProcessor * save metainfo in Resize for outkeys * complete prepare method for Matting metrics * remove GenLoop, MutliLoop, GenDataPreprocessor * remove PixelData
* support new loops * refactor base sample wise metrics, FID and IS * adopt configs to new loops * refine EditLoops and add docstring and unit test for EditLoops * rename GenEvaluator to EditEvaluator * revise configs for new EditLoops and EditEvaluator * remove unused imported modules * revise unit test of BaseSampleWiseMetric * remove GenDataPreprocessor, GenLoop from configs, docstrings and tutorials * avoid raise duplicate conversion warning in EditDataprocessor * revise channel order conversion in FID metric * rename GenLogProcessor and GenIterTimeHook to EditLogProcessor and EditIterTimeHook * rename some elements in default_runtime * support non-scalar in get_log_after_epoch as MMEngine's LogProcessor * save metainfo in Resize for outkeys * complete prepare method for Matting metrics * remove GenLoop, MutliLoop, GenDataPreprocessor * remove PixelData
* support new loops * refactor base sample wise metrics, FID and IS * adopt configs to new loops * refine EditLoops and add docstring and unit test for EditLoops * rename GenEvaluator to EditEvaluator * revise configs for new EditLoops and EditEvaluator * remove unused imported modules * revise unit test of BaseSampleWiseMetric * remove GenDataPreprocessor, GenLoop from configs, docstrings and tutorials * avoid raise duplicate conversion warning in EditDataprocessor * revise channel order conversion in FID metric * rename GenLogProcessor and GenIterTimeHook to EditLogProcessor and EditIterTimeHook * rename some elements in default_runtime * support non-scalar in get_log_after_epoch as MMEngine's LogProcessor * save metainfo in Resize for outkeys * complete prepare method for Matting metrics * remove GenLoop, MutliLoop, GenDataPreprocessor * remove PixelData
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Unify
MultiLoop
andGenLoop
in one Loop.Modification
Support
EditLoops
.NOTE
This PR depends on #1537.
Who can help? @ them here!
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist
Before PR:
After PR: