Joël Habersatter
Joël Habersatter
@RunningLeon sorry for answering so late! The exact command I have used is the following: ``` python3 tools/deploy.py configs/mmdet/instance-seg/instance-seg_tensorrt-fp16_static-480x640.py ${MMDET_DIR}/configs/MaskRCNN-ResNet50-Trash/maskrcnn_trash_config.py ${MMDET_DIR}/checkpoints/maskrcnn_trash.pth ${MMDET_DIR}/data/data_train/images/selflabel_7classes/frame001600.jpg --work-dir exports/trt_maskrcnntrash_orin_480x640/ --show --device cuda:0 --dump-info ``` Where...
@RunningLeon I have not changed any code in mmdet. I simply used configs/mask_rcnn/mask_rcnn_r50_fpn_1x_coco.py and die some transfer learning on it. It has been working perfectly on the Xavier but I...
@RunningLeon thanks for the suggestion. I changed `torch_model` and `model_inputs` to `torch_model.cpu()` and `model_inputs.cpu()` respectively. Now I am running into some kind of error with onnx2tensorrt: ``` RuntimeError: Failed to...
So I got it working using [polygraphy surgeon sanitize](https://github.com/NVIDIA/TensorRT/tree/master/tools/Polygraphy/examples/cli/surgeon/02_folding_constants) and then tools/onnx2tensorrt.py on the folded .onnx model. The results look fine. Sorry, where from should `topk_tensorrt` or `topk_dynamic` be called?...
@RunningLeon please excuse me for this very late answer. I checked and found out that indeed `topk_tensorrt` is called and not `topk_dynamic`. I don't know what exactly the issue could...
@RunningLeon yes, thanks for your help. everything worked using mmdeploy 0.8.0 :)
Hey @tehkillerbee, happy to find you in this issue. We have been in contact on an MMDeploy Github issue regarding the deployment of MMDetection Mask-RCNN models on the Jetson. ##...
Note: I have left away the padding for it to be divisible by 32. Maybe that is the source of error. I will try it. Anyways... can someone explain to...
Update: padding did not help in any way
@mdegans The script worked flawlessly for OpenCV 4.5.0. :) The only thing I am confused about is that there is no /usr/include/opencv4 or /usr/lib/python3.6/dist-packages/cv2 directory, which exist for the native...