-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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] Support eval concate dataset and add tool to show dataset #781
Conversation
Signed-off-by: wangxionghui <wangxionghui.kk@bytedance.com>
Signed-off-by: wangxionghui <wangxionghui.kk@bytedance.com>
Codecov Report
@@ Coverage Diff @@
## master #781 +/- ##
==========================================
- Coverage 85.37% 85.02% -0.36%
==========================================
Files 107 107
Lines 5859 5888 +29
Branches 962 970 +8
==========================================
+ Hits 5002 5006 +4
- Misses 672 695 +23
- Partials 185 187 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Hi @FreyWang |
@@ -14,12 +15,67 @@ class ConcatDataset(_ConcatDataset): | |||
datasets (list[:obj:`Dataset`]): A list of datasets. | |||
""" | |||
|
|||
def __init__(self, datasets): | |||
def __init__(self, datasets, separate_eval=True): |
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.
Docstring for separate_eval
.
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.
Could you please provide some numerical results for ConcatDataset
with seperate_eval
?
Hi @FreyWang |
ok, I will do it today |
Hi, @FreyWang Would you mind upgrade your PR, i.e., make feature of this PR could meet up the latest version of MMsegmentation? Thus we could merge this PR as soon as possible. Best, |
sorry for late, I will try to upgrade it in this weekend as it's busy this week 😢 |
HI, @MengzhangLI @Junjun2016 , new PR is submit in PR#833 |
…n-mmlab#781) [textual_inversion] Add an option to only save embeddings Add an command line option --only_save_embeds to the example script, for not saving the full model. Then only the learned embeddings are saved, which can be added to the original model at runtime in a similar way as they are created in the training script. Saving the full model is forced when --push_to_hub is used. (Implements open-mmlab#759)
* first commit * update docs * add unittest * update changelog
Motivation
Modification
tools/browse_dataset.py
gt_seg_maps=None
incustom.py
, Addevaluate()
toConcatDataset
ofdataset_wrappers.py