Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningLeon authored Nov 25, 2021
1 parent ca0014a commit 3755966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdeploy/backend/tensorrt/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def create_trt_engine(onnx_model: Union[str, onnx.ModelProto],
error_msgs = ''
for error in range(parser.num_errors):
error_msgs += f'{parser.get_error(error)}\n'
raise RuntimeError(f'Failed to parse onnx: {onnx_model}\n{error_msgs}')
raise RuntimeError(f'Failed to parse onnx, {error_msgs}')

# config builder
if version.parse(trt.__version__) < version.parse('8'):
Expand Down

0 comments on commit 3755966

Please sign in to comment.