-
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
Bump Version to 1.0.0rc6 #1661
Bump Version to 1.0.0rc6 #1661
Conversation
fix ci follow mmengine
add more infomation in sd readme
* [Refactor] Refactor fileio * fix ut * fix self.backend_args * fix self.backend_args * fix self.backend_args * fix self.backend_args * fix vis_backend * fix vis_backend * fix vis_backend * fix vis_backend * fix vis_backend * fix ut
* fix jpeg config * fix random degradation
* [CodeCamp #99] type hints Part C * face id Co-authored-by: Z-Fran <[email protected]>
* - * fix dev_scripts * update field name in readme * refactor format in readme
* Add tools/misc/print_config.py * Change print_config.py location Co-authored-by: Z-Fran <[email protected]>
* fix ema momentum meaning, results in codes and config changes * fix comments * Update mmedit/engine/hooks/ema.py Co-authored-by: Yanhong Zeng <[email protected]> * complete warning for old user * fix lint * fix ut * test warning * pytest capture warning * fix lint Co-authored-by: Yanhong Zeng <[email protected]>
fix disco bug with glide added.
Co-authored-by: Z-Fran <[email protected]>
* remove python<3.7 ut head. * fix lint
* [Refactor] use mmengine.basemodule instead of nn.module * fix init_cfg * fix conflict * fix init_cfg
* revert opencv change. * pass stylegan1 and 2 * revert sd ut.
fix lint
* use baseinferencer from engine. * remove abstract functions in baseinferencer. * remove funtions. * fix init model with blank ckpt * use super init.
* remove sd test head * add conv_act * fix typo. * remove unused code
* 第一次提交 * 第一次提交 * 第二次提交 * 第三次提交 * 第四次提交,修改 isort * 第5次提交,isort调整 * 第五次提交,调整isort * 第6次提交,调整yapf * 第7次提交,针对部分类型修改 * 第7次提交,针对部分类型修改 * 第7次提交,针对部分类型修改 * 第7次提交,针对部分类型修改 * 第八次提交,根据要求修改部分参数类型和函数返回类型 spearable_conv_module.py参数kernel_size,stride,padding,dilation根据ConvModule的同名参数进行修改类型。resnet.py类ResNet中forward函数返回的类型是list;其他部分根据要求修改 * 第八次提交,yapf调整 * 第九次提交,img_normalize.py部分类型修改 根据tests/test_models/test_base_archs/test_img_normalize.py创建这个class时给的参数rgb_mean和rgb_std的类型,以及mmedit/models/editors/ttsr/lte.py创建这个class的参数vgg_mean和vgg_std的参数类型,修改img_mean 和 img_std的类型 * 第十次提交,修改base_edit_model.py和base_mattor.py部分参数类型 base_edit_model.py函数convert_to_datasample的返回类型修改为List[EditDataSample],因为其返回的变量inputs也是函数的参数,因此将参数inputs的类型也修改为List[EditDataSample]; base_mattor.py的函数convert_to_datasample的返回类型修改为List[EditDataSample] * gradio实现inpaiting gui * yapf isort 调整 删除一些不用的包和注释,以及调整代码使其符合yapf和isort校验 * send_notification函数和setting输入项调整 1、使用gr.Label来取代原来的pyler作为通知的输出 2、model_setting改为下拉选择 * lint 调整 * double-quote-string 调整 * double-quote-string调整 * docformatter 调整 --------- Co-authored-by: LeoXing1996 <[email protected]>
* open stylegan circleci ut. * fix lint.
* add colorization inferencer * fix lint * add ut * fix ut * clean code * remove cuda only * mask out gpu * skip forward in cpu ut. * skip instancecrop. * fix lint. * skip forward without cuda. * coverage with cu102 * revert ci setting.
fix update_model_index
fix esrgan's readme
revise README of RDN, StyleGAN3 and Tdan
* refine biggan readme * refine disco readme * fix lint
* [Feature] Support auto import modules from registry * fix mmengine version
* [Fix] fix dataset_converters scripts bug * [Fix] fix dataset_converters scripts bug
fixbug: register transforms
* Update dataset_prepare.md * Update dataset_prepare.md
support all unconditional model
* Update nafnet_c64eb11128mb1db1111_8xb8-lr1e-3-400k_gopro.py * Update nafnet_c64eb2248mb12db2222_8xb8-lr1e-3-400k_sidd.py * Update nafnet_net.py * Update nafnet_net.py * Update test_nafnet.py * Update test_nafnet.py --------- Co-authored-by: Z-Fran <[email protected]>
* [Docs]: Add metrics and dataset_prepare in user_guides * fix lint --------- Co-authored-by: Yanhong Zeng <[email protected]> Co-authored-by: Z-Fran <[email protected]> Co-authored-by: Z-Fran <[email protected]>
|
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## 1.x #1661 +/- ##
==========================================
+ Coverage 87.90% 88.15% +0.24%
==========================================
Files 399 399
Lines 26015 26372 +357
Branches 4044 4114 +70
==========================================
+ Hits 22868 23247 +379
- Misses 2240 2241 +1
+ Partials 907 884 -23
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. |
add benchmark configs for test team
* refactor packeditinput and editdatasample * move util from formatting to img_utils * fix bugs in ut * use permute instead of transpose in all_to_tensor * remove undesired output results * fix the path of results in ut * use np.ascontiguousarray(img) in image_to_tensor * remove entry function from unit test files * refine sinGAN's config Co-authored-by: LeoXing1996 <[email protected]>
* unify GenDataPreprocessor and EditDataPreprocessor * revise models with EditDataPreprocessor * adopt configs with revised EditDataPreprocessor * adopt train_step and unit tests to revised EditDataPreprocessor * fix unit test of inpainter inferencer * add more metainfo to EditDataSample * refactor EditDataPreprocessor to standardize the output channel order and value range of data_samples and inputs * adopt SR models to refactored EditDataPreprocessor * revise padding checking in destruct * revise color order conversion to support get input channel order from metafile and handle single channel images * remove norm_data_samples_in_testing and use upper case for channel order * adopt baseGAN and baseCondGAN for new data preprocessor * convert is_list_of to is_seq_of * refactor inpaintors to adopt new data preprocessor * standardize channel order representation and refactor channel order conversion behaviors * refactor channel conversion in destruct and remove unused codes * update unit test for edit data preprocessor and fix some bugs * adopt inpainting models' with data preprocessor * adopt frame interpolation models' with data preprocessor * revise train_step and unit tests of global_local and partial_conv * adopt colorization models' with data preprocessor * revise train_step and unit tests of aot-gan * adopt SR and VSR models with data preprocessor * revise test config of LIIF * adopt dcgan and SWD, MS-SSIM to new data preprocessor * adopt wgan, ggan and lsgan to new data preprocessor * adopt pggan and styleganv1 to new data preprocessor * adopt pix2pix to new data preprocessor * adopt cyclegan to new data preprocessor * adopt conditional-datasets to new data preprocessor * adopt sngan and sagan to new data preprocessor * adopt biggan to new data preprocessor * adopt stylegan2, singan and mspie to new data preprocessor * adopt stylegan3 to new data preprocessor * adopt eg3d to new data preprocessor * revise transform pipelines * revise unit test of EditDataSample * adopt baseEditModel, vis_hook and visualizer for new data preprocessor * some minor fix of edit data preprocessor and add unit test for model utils * adopt metrics for new data preprocessor * add env var for deterministic training * refactor mattor data preprocessor based on edit data preprocessor * fix lint error * fix some unit tests * update unit test of inpainting inferencer, sad and data preprocessor * optimize the memory cost for AOT-GAN and BasicVSR's unit tests * optimize the memory cost for IconVSR's unit tests * skip ttsr unit test on windows CI
* 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
add more docstring to pass lint checking
* support stack and split in data sample * support stack for EditDataPreprocessor * support length in EditDataSample and revise stack and split operation * adapt models for the stacked data samples * support stack for MattorPreprocessor * remove useless comments * revise the return type of forward_inference to EditDataSample * add security checking for EditDataSample.split * revise inferencer unit tests * revise inception utils * revise conditional gan models * revise unit test for base mattor * revise unit test for twostage inpaintor and aot-inpaintor * revise unit test for LIIF * revise unit test for cyclegan and pix2pix * revise unit test for pconv * revise unit test for vis hook + fix bug in split * revise more unit tests to pass CI and reduce the input resolution of wo-stage UI * support video process for EditDataPreprocessor.process_image_tensor * revise unit test of EDVR * revise comment in EditDataSample.split * remove more useless comments
* make forward logic more clear for GAN models * revise eg3d inferencer unit test * polish length calculate and split operation for EditDataSample * revise forward pipeline for BaseGAN and BaseCondGAN * revise forward pipeline for EG3D * revise forward pipeline for PGGAN * remove useless comments from SinGAN * remove is_stacked property from EditDataSample
remove useless comments from MS-SSIM
…processor [Enhance] Merge EditVal/TestLoop and EditPreprocessor to `dev-1.x`
use LongTensor in index_select for pt16
include niqe_pris_params.npz and fix deploy
* [Fix] fix model_zoo script * add pre-commit
* [Release] update v1.0.0rc6 info * update date * update changelog * update readme * fix comments * update date * update comments
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.
LGTM
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
Highlights
We are excited to announce the release of MMEditing 1.0.0rc6. This release supports 50+ models, 222+ configs and 209+ checkpoints in MMGeneration and MMEditing. We highlight the following new features
Backwards Incompatible changes
GenValLoop
andMultiValLoop
has been merged toEditValLoop
,GenTestLoop
andMultiTestLoop
has been merged toEditTestLoop
. Use case:stack
andsplit
forEditDataSample
, Use case:GenDataPreprocessor
has been merged intoEditDataPreprocessor
,type
field in config.input_view
andoutput_view
since we will infer the shape of mean automatically.BGR
(for three-channel images) and[0, 255]
.PixelData
has been removedFor BaseGAN/CondGAN models, real images are passed from
data_samples.gt_img
instead ofinputs['img']
New Features & Improvements
Bug Fixes
momentum
in EMA. #1581Who 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: