From 0ed05861c21b3db1f6b3399930dda18a87928df7 Mon Sep 17 00:00:00 2001 From: zambranohally <63218980+zambranohally@users.noreply.github.com> Date: Wed, 29 Jun 2022 17:04:54 +0800 Subject: [PATCH] Update get_started.md Fix backend model assignment --- docs/en/get_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/get_started.md b/docs/en/get_started.md index a28ec9e20c..6f8876cb77 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -198,7 +198,7 @@ import os model_cfg = os.getenv('MMDET_DIR') + '/configs/faster_rcnn/faster_rcnn_r50_fpn_1x_coco.py' deploy_cfg = os.getenv('MMDEPLOY_DIR') + '/configs/mmdet/detection/detection_tensorrt_dynamic-320x320-1344x1344.py' -backend_files = os.getenv('WORK_DIR') + '/end2end.engine' +backend_files = [os.getenv('WORK_DIR') + '/end2end.engine'] result = inference_model(model_cfg, deploy_cfg, backend_files, img=img, device=device) ```