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

[Fix][New_config] Fix demo bug #1647

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

HAOCHENYE
Copy link
Contributor

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

Please describe the motivation of this PR and the goal you want to achieve through this PR.

Modification

Please briefly describe what modification is made in this PR.

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:

  • Pre-commit or other linting tools are used to fix the potential lint issues.
  • Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
  • The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

  • If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
  • CLA has been signed and all committers have signed the CLA in this PR.

@HAOCHENYE HAOCHENYE changed the title [Fix][new_config] Fix demo bug [Fix][New_config] Fix demo bug Jun 15, 2023
@fangyixiao18 fangyixiao18 changed the base branch from new_config to dev June 16, 2023 08:56
@fangyixiao18
Copy link
Collaborator

The other py file also need to be updated? such as https://github.com/open-mmlab/mmpretrain/blob/dev/mmpretrain/apis/feature_extractor.py#L86

Copy link
Collaborator

@fangyixiao18 fangyixiao18 left a comment

Choose a reason for hiding this comment

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

check other files

@codecov
Copy link

codecov bot commented Jun 19, 2023

Codecov Report

Patch coverage: 38.41% and project coverage change: -2.48 ⚠️

Comparison is base (f9dcae2) 68.16% compared to head (beba259) 65.69%.

❗ Current head beba259 differs from pull request most recent head 1cd769b. Consider uploading reports for the commit 1cd769b to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1647      +/-   ##
==========================================
- Coverage   68.16%   65.69%   -2.48%     
==========================================
  Files         295      327      +32     
  Lines       23372    25515    +2143     
  Branches     3713     4068     +355     
==========================================
+ Hits        15932    16762     +830     
- Misses       6880     8141    +1261     
- Partials      560      612      +52     
Flag Coverage Δ
unittests 65.69% <38.41%> (-2.48%) ⬇️

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

Impacted Files Coverage Δ
mmpretrain/apis/feature_extractor.py 37.50% <0.00%> (ø)
mmpretrain/apis/image_caption.py 30.64% <0.00%> (ø)
mmpretrain/apis/image_retrieval.py 21.42% <0.00%> (ø)
mmpretrain/apis/visual_grounding.py 27.53% <0.00%> (ø)
mmpretrain/apis/visual_question_answering.py 25.67% <0.00%> (ø)
mmpretrain/datasets/__init__.py 63.41% <0.00%> (-10.88%) ⬇️
mmpretrain/datasets/gqa_dataset.py 0.00% <0.00%> (ø)
mmpretrain/datasets/nocaps.py 0.00% <0.00%> (ø)
mmpretrain/datasets/ocr_vqa.py 0.00% <0.00%> (ø)
mmpretrain/datasets/scienceqa.py 0.00% <0.00%> (ø)
... and 59 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fangyixiao18 fangyixiao18 merged commit d6056af into open-mmlab:dev Jun 19, 2023
5 of 6 checks passed
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.

None yet

3 participants