From 13a92fb80307a5eaad077f7dbf6feaf06e96519a Mon Sep 17 00:00:00 2001 From: FreakieHuang Date: Thu, 1 Dec 2022 18:47:58 +0800 Subject: [PATCH 1/3] fix wrn configs --- configs/vanilla/mmcls/wide-resnet/wrn22-w4_b16x8_cifar10.py | 2 +- configs/vanilla/mmcls/wide-resnet/wrn28-w4_b16x8_cifar10.py | 2 +- configs/vanilla/mmcls/wide-resnet/wrn40-w2_b16x8_cifar10.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/vanilla/mmcls/wide-resnet/wrn22-w4_b16x8_cifar10.py b/configs/vanilla/mmcls/wide-resnet/wrn22-w4_b16x8_cifar10.py index 091fa3003..7c4888796 100644 --- a/configs/vanilla/mmcls/wide-resnet/wrn22-w4_b16x8_cifar10.py +++ b/configs/vanilla/mmcls/wide-resnet/wrn22-w4_b16x8_cifar10.py @@ -1,3 +1,3 @@ -_base_ = ['wrn16_w2_b16x8_cifar10.py'] +_base_ = ['wrn16-w2_b16x8_cifar10.py'] model = dict( backbone=dict(depth=22, widen_factor=4), head=dict(in_channels=256, )) diff --git a/configs/vanilla/mmcls/wide-resnet/wrn28-w4_b16x8_cifar10.py b/configs/vanilla/mmcls/wide-resnet/wrn28-w4_b16x8_cifar10.py index 72dede29f..83f0f8153 100644 --- a/configs/vanilla/mmcls/wide-resnet/wrn28-w4_b16x8_cifar10.py +++ b/configs/vanilla/mmcls/wide-resnet/wrn28-w4_b16x8_cifar10.py @@ -1,3 +1,3 @@ -_base_ = ['wrn16_w2_b16x8_cifar10.py'] +_base_ = ['wrn16-w2_b16x8_cifar10.py'] model = dict( backbone=dict(depth=28, widen_factor=4), head=dict(in_channels=256, )) diff --git a/configs/vanilla/mmcls/wide-resnet/wrn40-w2_b16x8_cifar10.py b/configs/vanilla/mmcls/wide-resnet/wrn40-w2_b16x8_cifar10.py index ba25d6b81..de44e9191 100644 --- a/configs/vanilla/mmcls/wide-resnet/wrn40-w2_b16x8_cifar10.py +++ b/configs/vanilla/mmcls/wide-resnet/wrn40-w2_b16x8_cifar10.py @@ -1,3 +1,3 @@ -_base_ = ['wrn16_w2_b16x8_cifar10.py'] +_base_ = ['wrn16-w2_b16x8_cifar10.py'] model = dict( backbone=dict(depth=40, widen_factor=2), head=dict(in_channels=128, )) From c92bb09a33996cd01e48010dd6f59c800aec84ce Mon Sep 17 00:00:00 2001 From: FreakieHuang Date: Thu, 1 Dec 2022 18:49:16 +0800 Subject: [PATCH 2/3] fix wrn configs --- configs/vanilla/mmcls/wide-resnet/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/vanilla/mmcls/wide-resnet/README.md b/configs/vanilla/mmcls/wide-resnet/README.md index 5cc8c4258..e3a3426e2 100644 --- a/configs/vanilla/mmcls/wide-resnet/README.md +++ b/configs/vanilla/mmcls/wide-resnet/README.md @@ -19,9 +19,9 @@ Deep residual networks were shown to be able to scale up to thousands of layers | Model | Top-1 (%) | Config | Download | | :----: | :-------: | :-----------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | | WRN-16 | 93.04 | [config](./wrn16-w2_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.json) | -| WRN-22 | | [config](./wrn22-w4_b16x8_cifar10.py) | [model](<>) \| [log](<>) | +| WRN-22 | 94.8700 | [config](./wrn22-w4_b16x8_cifar10.py) | [model](<>) \| [log](<>) | | WRN-28 | 95.41 | [config](./wrn28-w4_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.json) | -| WRN-40 | | [config](./wrn40-w2_b16x8_cifar10.py) | [model](<>) \| [log](<>) | +| WRN-40 | 94.6700 | [config](./wrn40-w2_b16x8_cifar10.py) | [model](<>) \| [log](<>) | ## Citation From fd6321030d36c8746dcf4351b97a40ad434dc396 Mon Sep 17 00:00:00 2001 From: FreakieHuang Date: Fri, 2 Dec 2022 15:41:42 +0800 Subject: [PATCH 3/3] update online wrn model weight --- configs/vanilla/mmcls/wide-resnet/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/vanilla/mmcls/wide-resnet/README.md b/configs/vanilla/mmcls/wide-resnet/README.md index e3a3426e2..b32008e7f 100644 --- a/configs/vanilla/mmcls/wide-resnet/README.md +++ b/configs/vanilla/mmcls/wide-resnet/README.md @@ -16,12 +16,12 @@ Deep residual networks were shown to be able to scale up to thousands of layers ### Cifar10 -| Model | Top-1 (%) | Config | Download | -| :----: | :-------: | :-----------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | -| WRN-16 | 93.04 | [config](./wrn16-w2_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.json) | -| WRN-22 | 94.8700 | [config](./wrn22-w4_b16x8_cifar10.py) | [model](<>) \| [log](<>) | -| WRN-28 | 95.41 | [config](./wrn28-w4_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.json) | -| WRN-40 | 94.6700 | [config](./wrn40-w2_b16x8_cifar10.py) | [model](<>) \| [log](<>) | +| Model | Top-1 (%) | Config | Download | +| :----: | :-------: | :-----------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | +| WRN-16 | 93.04 | [config](./wrn16-w2_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn16_2_b16x8_cifar10_20220831_204709-446b466e.json) | +| WRN-22 | 94.8700 | [config](./wrn22-w4_b16x8_cifar10.py) | [model](https://download.openmmlab.com/mmrazor/v1/wide_resnet/wrn22-w4_b16x8_cifar10/wrn22-w4_b16x8_cifar10_20221201_170638-1d044c6f.pth) \| [log](https://download.openmmlab.com/mmrazor/v1/wide_resnet/wrn22-w4_b16x8_cifar10/wrn22-w4_b16x8_cifar10_20221201_170638-1d044c6f.json) | +| WRN-28 | 95.41 | [config](./wrn28-w4_b16x8_cifar10.py) | [model](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.pth) \| [log](https://openmmlab-share.oss-cn-hangzhou.aliyuncs.com/mmrazor/v1/wide_resnet/wrn28_4_b16x8_cifar10_20220831_173536-d6f8725c.json) | +| WRN-40 | 94.6700 | [config](./wrn40-w2_b16x8_cifar10.py) | [model](https://download.openmmlab.com/mmrazor/v1/wide_resnet/wrn40-w2_b16x8_cifar10/wrn40-w2_b16x8_cifar10_20221201_170318-761c8c55.pth) \| [log](https://download.openmmlab.com/mmrazor/v1/wide_resnet/wrn40-w2_b16x8_cifar10/wrn40-w2_b16x8_cifar10_20221201_170318-761c8c55.json) | ## Citation