Skip to content

[CodeCamp2023-240]Adding support for Consistency Models#2045

Closed
xiaomile wants to merge 96 commits into
open-mmlab:mainfrom
xiaomile:main
Closed

[CodeCamp2023-240]Adding support for Consistency Models#2045
xiaomile wants to merge 96 commits into
open-mmlab:mainfrom
xiaomile:main

Conversation

@xiaomile

@xiaomile xiaomile commented Oct 3, 2023

Copy link
Copy Markdown
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

Submitting this pull request means that,

Before PR:

  • I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
  • Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
  • Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • New functionalities are covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  • The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

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

xiaomile and others added 30 commits June 2, 2023 15:32
demo 示例
python mmagic\demo\mmagic_inference_demo.py --model-name deblurganv2 --model-comfig ../configs/deblurganv2/deblurganv2_fpn_inception.py --model-ckpt 权重文件路径 --img 测试图片路径 --device cpu --result-out-dir ./out.png
update model-index
CI test fix and update readme.md
fix CI test and update readme.md
代码调整,参数名保持一致
doc string coverage
add some doc string
add some doc string
@codecov

codecov Bot commented Oct 3, 2023

Copy link
Copy Markdown

Codecov Report

Attention: 350 lines in your changes are missing coverage. Please review.

Comparison is base (ef68f11) 75.70% compared to head (b11376c) 77.91%.
Report is 10 commits behind head on main.

Files Patch % Lines
...itors/consistency_models/consistencymodel_utils.py 40.80% 207 Missing and 15 partials ⚠️
...ors/consistency_models/consistencymodel_modules.py 75.61% 64 Missing and 15 partials ⚠️
...els/editors/consistency_models/consistencymodel.py 65.97% 35 Missing and 14 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2045      +/-   ##
==========================================
+ Coverage   75.70%   77.91%   +2.20%     
==========================================
  Files         441      445       +4     
  Lines       32295    33203     +908     
  Branches     5082     5215     +133     
==========================================
+ Hits        24449    25870    +1421     
+ Misses       6775     6065     -710     
- Partials     1071     1268     +197     
Flag Coverage Δ
unittests 77.91% <58.77%> (+2.20%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xiaomile xiaomile closed this by deleting the head repository Dec 12, 2023
xiaomile added a commit to xiaomile/mmagic that referenced this pull request Dec 12, 2023
clean the old commit message,open a new pr for open-mmlab#2045
@xiaomile

Copy link
Copy Markdown
Contributor Author

clean the old commit message,open a new pr #2086

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.

4 participants