From e86796aa6f3d2e54deb6b81c2d320fd9476ed52a Mon Sep 17 00:00:00 2001 From: Qingyun <79644233+Li-Qingyun@users.noreply.github.com> Date: Mon, 13 Feb 2023 15:27:24 +0800 Subject: [PATCH] [Fix] fix import error in quick run demo doc (#1640) --- docs/en/get_started/quick_run.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/get_started/quick_run.md b/docs/en/get_started/quick_run.md index b243e5263a..cd223cfcac 100644 --- a/docs/en/get_started/quick_run.md +++ b/docs/en/get_started/quick_run.md @@ -34,7 +34,7 @@ you only need several lines of codes for image super-resolution by MMEditing! ```python import mmcv from mmedit.apis import init_model, restoration_inference -from mmedit.engine.misc import tensor2img +from mmedit.utils import tensor2img config = 'configs/esrgan/esrgan_x4c64b23g32_1xb16-400k_div2k.py' checkpoint = 'https://download.openmmlab.com/mmediting/restorers/esrgan/esrgan_x4c64b23g32_1x16_400k_div2k_20200508-f8ccaf3b.pth'