Closed mahendraBabuHari closed 4 years ago
Hi @mahendraBabuHari, did you trained the model from scratch in ONNX or converted the trained model in PyTorch to ONNX?
Sorry, We didn’t try that way.
On Nov 3, 2019, at 10:13 PM, Kanchan Sarkar notifications@github.com wrote:
Hi @mahendraBabuHari, did you trained the model from scratch in ONNX or converted the trained model in PyTorch to ONNX?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Hi @mahendraBabuHari, did you trained the model from scratch in ONNX or converted the trained model in PyTorch to ONNX?
Converted the trained model in PyTorch to ONNX.
@mahendraBabuHari Were you able to get basnet working in TensorRT? If so can you explain the steps you took?
I'm trying to do the same but can't find any example of salient object detection in TensorRT.
Thanks.
Am trying to use TensorRT to speed up the inference. I converted my model trained from scratch to ONNX to feed to TensorRT. But TensorRT is throwing this error while parsing the model,
While parsing node number 186 [Gather]: ERROR: onnx2trt_utils.hpp:277 In function convert_axis: [8] Assertion failed: axis >= 0 && axis < nbDims [E] Unable to parse ONNX model file: ../data/int8_api/basnet.onnx
Any pointers on how to address this?
Thanks.