From 7e8154090a5f30c7dc88f2d024f497742e23ed01 Mon Sep 17 00:00:00 2001 From: Yifan Zhou Date: Thu, 16 Sep 2021 19:55:07 +0800 Subject: [PATCH] align mmedit static cfg (#82) --- ...static-256x256.py => super-resolution_onnxruntime_static.py} | 2 +- configs/mmedit/super-resolution/super-resolution_ppl_static.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename configs/mmedit/super-resolution/{super-resolution_onnxruntime_static-256x256.py => super-resolution_onnxruntime_static.py} (67%) diff --git a/configs/mmedit/super-resolution/super-resolution_onnxruntime_static-256x256.py b/configs/mmedit/super-resolution/super-resolution_onnxruntime_static.py similarity index 67% rename from configs/mmedit/super-resolution/super-resolution_onnxruntime_static-256x256.py rename to configs/mmedit/super-resolution/super-resolution_onnxruntime_static.py index 49616775a..dbbf39257 100644 --- a/configs/mmedit/super-resolution/super-resolution_onnxruntime_static-256x256.py +++ b/configs/mmedit/super-resolution/super-resolution_onnxruntime_static.py @@ -2,4 +2,4 @@ _base_ = [ './super-resolution_static.py', '../../_base_/backends/onnxruntime.py' ] -onnx_config = dict(input_shape=[256, 256]) +onnx_config = dict(input_shape=None) diff --git a/configs/mmedit/super-resolution/super-resolution_ppl_static.py b/configs/mmedit/super-resolution/super-resolution_ppl_static.py index 4916cda4e..0ba1ef277 100644 --- a/configs/mmedit/super-resolution/super-resolution_ppl_static.py +++ b/configs/mmedit/super-resolution/super-resolution_ppl_static.py @@ -1,3 +1,3 @@ _base_ = ['./super-resolution_static.py', '../../_base_/backends/ppl.py'] -onnx_config = dict(input_shape=[256, 256]) +onnx_config = dict(input_shape=None)