Update get_started.md (#675)

Fix backend model assignment
pull/680/head
zambranohally 2022-06-29 19:02:20 +08:00 committed by GitHub
parent c792d06706
commit 3bc766e6f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
```