Warning: Encountered known unsupported method torch.Tensor.new_tensor
FX-STAR opened this issue · 3 comments
FX-STAR commented
Cascade RCNN convert, any advice ? Thanks
grimoire commented
Just ignore it.
FX-STAR commented
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
grimoire commented
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