Skip to content

Commit

Permalink
Fixed tensorrt plugin not found in Windows (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgsuello authored Jun 29, 2022
1 parent 30d62e9 commit 0f0f676
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmdeploy/backend/tensorrt/init_plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ def get_ops_path() -> str:
"""
candidates = [
'../../lib/libmmdeploy_tensorrt_ops.so',
'../../lib/mmdeploy_tensorrt_ops.dll'
'../../lib/mmdeploy_tensorrt_ops.dll',
'../../../build/lib/libmmdeploy_tensorrt_ops.so',
'../../../build/bin/*/mmdeploy_tensorrt_ops.dll'
]
return get_file_path(os.path.dirname(__file__), candidates)

Expand Down

0 comments on commit 0f0f676

Please sign in to comment.