Skip to content

Commit

Permalink
Merge pull request #1661 from open-mmlab/dev-1.x
Browse files Browse the repository at this point in the history
Bump Version to 1.0.0rc6
  • Loading branch information
LeoXing1996 authored Mar 2, 2023
2 parents e7c0539 + 869f576 commit 5163619
Show file tree
Hide file tree
Showing 668 changed files with 13,241 additions and 10,438 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,17 @@ workflows:
# line:
# <regex path-to-test> <parameter-to-set> <value-of-pipeline-parameter>
mapping: |
mmedit/.* lint_only false
requirements/.* lint_only false
tests/.* lint_only false
.circleci/.* lint_only false
tools/.* lint_only true
configs/.* lint_only true
docs/.* lint_only true
.dev_scripts/.* lint_only true
.github/.* lint_only true
demo/.* lint_only true
projects/.* lint_only true
mmedit/.* lint_only false
requirements/.* lint_only false
tests/.* lint_only false
.circleci/.* lint_only false
tools/.* lint_only true
base-revision: dev-1.x
# this is the path of the configuration we should trigger once
# path filtering and pipeline parameter value updates are
Expand Down
4 changes: 1 addition & 3 deletions .circleci/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
- run:
name: Install mmediting dependencies
command: |
pip install 'opencv-python!=4.7.0.68'
pip install git+https://github.com/open-mmlab/mmengine.git@main
pip install -U openmim
mim install 'mmcv >= 2.0.0rc1'
Expand Down Expand Up @@ -103,7 +102,6 @@ jobs:
- run:
name: Install mmedit dependencies
command: |
docker exec mmedit pip install 'opencv-python!=4.7.0.68'
docker exec mmedit pip install -e /mmengine
docker exec mmedit pip install -U openmim
docker exec mmedit mim install 'mmcv >= 2.0.0rc1'
Expand Down Expand Up @@ -144,7 +142,7 @@ workflows:
name: minimum_version_cpu
torch: 1.6.0
torchvision: 0.7.0
python: 3.6.9 # The lowest python 3.6.x version available on CircleCI images
python: 3.7.4
requires:
- lint
- build_cpu:
Expand Down
1 change: 1 addition & 0 deletions .dev_scripts/test_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def create_test_job_batch(commands, model_info, args, port, script_name):
f'#SBATCH --ntasks=2\n'
f'#SBATCH --cpus-per-task=16\n\n'
f'export MASTER_PORT={port}\n'
f'export CUBLAS_WORKSPACE_CONFIG=:4096:8\n'
f'{runner} -u {script_name} {config} {checkpoint} '
f'--work-dir={work_dir} '
f'--out={result_file} '
Expand Down
83 changes: 83 additions & 0 deletions .dev_scripts/test_benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
cases:
- name: basicvsr-pp_c64n7_8xb1-600k_reds4
params:
checkpoint: basicvsr_plusplus_c64n7_8x1_600k_reds4_20210217-db622b2f.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/basicvsr_plusplus/basicvsr_plusplus_c64n7_8x1_600k_reds4_20210217-db622b2f.pth
config: configs/basicvsr_pp/basicvsr-pp_c64n7_8xb1-600k_reds4.py
cpus_per_node: 16
gpus: 4
gpus_per_node: 4
results:
dataset: REDS4(BIx4)
eval:
- PSNR
- SSIM
metrics:
PSNR (RGB): 32.3855
SSIM (RGB): 0.9069

- name: realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds
params:
checkpoint: realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds_20211104-52f77c2c.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/real_basicvsr/realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds_20211104-52f77c2c.pth
config: configs/real_basicvsr/realbasicvsr_c64b20-1x30x8_8xb1-lr5e-5-150k_reds.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: REDS
eval:
- NIQE
metrics:
NIQE (Y): 3.7662

- name: stylegan2_c2_8xb4-800kiters_ffhq-256x256
params:
checkpoint: stylegan2_c2_ffhq_256_b4x8_20210407_160709-7890ae1f.pth
checkpoint_url: https://download.openmmlab.com/mmediting/stylegan2/stylegan2_c2_ffhq_256_b4x8_20210407_160709-7890ae1f.pth
config: configs/styleganv2/stylegan2_c2-PL_8xb4-fp16-partial-GD-no-scaler-800kiters_ffhq-256x256.py
cpus_per_node: 4
gpus: 8
gpus_per_node: 8
results:
dataset: FFHQ256
metrics:
FID-50k: 3.992

- name: deepfillv1_256x256_8x2_places
params:
checkpoint: deepfillv1_256x256_8x2_places_20200619-c00a0e21.pth
checkpoint_url: https://download.openmmlab.com/mmediting/inpainting/deepfillv1/deepfillv1_256x256_8x2_places_20200619-c00a0e21.pth
config: configs/deepfillv1/deepfillv1_4xb4_celeba-256x256.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: Places365-val
metrics:
PSNR: 23.429
SSIM: 0.862
l1 error: 11.019

- name: realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost
params:
checkpoint: realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost_20210816-4ae3b5a4.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost_20210816-4ae3b5a4.pth
config: configs/real_esrgan/realesrnet_c64b23g32_4xb12-lr2e-4-1000k_df2k-ost.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: df2k_ost
metrics:
PSNR: 28.0297
SSIM: 0.8236

cluster_num: '2'
default_floating_range: 1.0
model_floating_ranges: {}
partition: mm_lol
repo: mmediting
branch: dev-1.x
task_type: test
third_part_libs: []
83 changes: 83 additions & 0 deletions .dev_scripts/train_benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
cases:
- name: basicvsr-pp_c64n7_8xb1-600k_reds4
params:
checkpoint: basicvsr_plusplus_c64n7_8x1_600k_reds4_20210217-db622b2f.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/basicvsr_plusplus/basicvsr_plusplus_c64n7_8x1_600k_reds4_20210217-db622b2f.pth
config: configs/basicvsr_pp/basicvsr-pp_c64n7_8xb1-600k_reds4.py
cpus_per_node: 16
gpus: 4
gpus_per_node: 4
results:
dataset: REDS4(BIx4)
eval:
- PSNR
- SSIM
metrics:
PSNR (RGB): 32.3855
SSIM (RGB): 0.9069

- name: realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds
params:
checkpoint: realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds_20211104-52f77c2c.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/real_basicvsr/realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds_20211104-52f77c2c.pth
config: configs/real_basicvsr/realbasicvsr_c64b20-1x30x8_8xb1-lr5e-5-150k_reds.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: REDS
eval:
- NIQE
metrics:
NIQE (Y): 3.7662

- name: stylegan2_c2_8xb4-800kiters_ffhq-256x256
params:
checkpoint: stylegan2_c2_ffhq_256_b4x8_20210407_160709-7890ae1f.pth
checkpoint_url: https://download.openmmlab.com/mmediting/stylegan2/stylegan2_c2_ffhq_256_b4x8_20210407_160709-7890ae1f.pth
config: configs/styleganv2/stylegan2_c2-PL_8xb4-fp16-partial-GD-no-scaler-800kiters_ffhq-256x256.py
cpus_per_node: 4
gpus: 8
gpus_per_node: 8
results:
dataset: FFHQ256
metrics:
FID-50k: 3.992

- name: deepfillv1_256x256_8x2_places
params:
checkpoint: deepfillv1_256x256_8x2_places_20200619-c00a0e21.pth
checkpoint_url: https://download.openmmlab.com/mmediting/inpainting/deepfillv1/deepfillv1_256x256_8x2_places_20200619-c00a0e21.pth
config: configs/deepfillv1/deepfillv1_4xb4_celeba-256x256.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: Places365-val
metrics:
PSNR: 23.429
SSIM: 0.862
l1 error: 11.019

- name: realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost
params:
checkpoint: realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost_20210816-4ae3b5a4.pth
checkpoint_url: https://download.openmmlab.com/mmediting/restorers/real_esrgan/realesrnet_c64b23g32_12x4_lr2e-4_1000k_df2k_ost_20210816-4ae3b5a4.pth
config: configs/real_esrgan/realesrnet_c64b23g32_4xb12-lr2e-4-1000k_df2k-ost.py
cpus_per_node: 16
gpus: 8
gpus_per_node: 8
results:
dataset: df2k_ost
metrics:
PSNR: 28.0297
SSIM: 0.8236

cluster_num: '2'
default_floating_range: 1.0
model_floating_ranges: {}
partition: mm_lol
repo: mmediting
branch: dev-1.x
task_type: train
third_part_libs: []
Loading

0 comments on commit 5163619

Please sign in to comment.