-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[Fix] Improve MultiImageMixDataset unittests coverage #1197
Conversation
* remove dynamic_scale & add palette * modify retrieve_data_cfg method * modify retrieve_data_cfg func
Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## master #1197 +/- ##
==========================================
+ Coverage 90.10% 90.21% +0.10%
==========================================
Files 126 126
Lines 7430 7430
Branches 1239 1239
==========================================
+ Hits 6695 6703 +8
+ Misses 530 523 -7
+ Partials 205 204 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @lkm2835 |
* Fix typo in usage example * original MultiImageMixDataset code in mmdet * Add MultiImageMixDataset unittests in test_dataset_wrapper * fix lint error * fix value name ann_file to ann_dir * modify retrieve_data_cfg (#1) * remove dynamic_scale & add palette * modify retrieve_data_cfg method * modify retrieve_data_cfg func * fix error * improve the unittests coverage * fix unittests error * Dataset (#2) * add cfg-options * Add unittest in test_build_dataset * add blank line * add blank line * add a blank line Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com> * [Fix] Add MultiImageMixDataset unittests Co-authored-by: Younghoon-Lee <72462227+Younghoon-Lee@users.noreply.github.com> Co-authored-by: MeowZheng <meowzheng@outlook.com> Co-authored-by: Miao Zheng <76149310+MeowZheng@users.noreply.github.com>
Motivation
RandomMosaic: line 1129 ~ 1130
MultiImageMixDataset: line 249 ~ 261
Improved unittest coverage
Modification
tests/test_data/test_dataset.py
Add RandomMosaic in pipeline
Fix typo:
data_infos
->img_infos