Skip to content

Commit

Permalink
Update get_started.md (#675)
Browse files Browse the repository at this point in the history
Fix backend model assignment
  • Loading branch information
zambranohally authored Jun 29, 2022
1 parent c792d06 commit 3bc766e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```
Expand Down

0 comments on commit 3bc766e

Please sign in to comment.