grimoire/mmdetection-to-tensorrt

Warning: Encountered known unsupported method torch.Tensor.new_tensor

FX-STAR opened this issue · 3 comments

Cascade RCNN convert, any advice ? Thanks

Just ignore it.

thank you for your reply,but how to choose device dynamic

device='cuda:1'
trt_model = init_detector(trt_model_path).to(device)

not work

The model can only work on the device you convert it.
If you want to use another device, please set the enviroment variable CUDA_VISIBLE_DEVICES