-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a bug when converting the dino detector to tensorrt #265
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does anyone successfully export DINO from pytorch to tensorrt? Please share your experience.
There is the bug (and lots of warnings) in my experience. An error
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
occurs with the command linepython deploy.py ./deploy/configs/mmdet/instance-seg/instance-seg_tensorrt_dynamic-320x320-1344x1344.py ./configs/coco/dino_4scale_internimage_l_1x_coco_0.1x_backbone_lr.py /media/shukun/Dataset1/downloads/dino_4scale_internimage_l_1x_coco_0.1x_backbone_lr.pth ./deploy/demo.jpg --work-dir ./work_dirs/mmdet/instance-seg/dino_4scale_internimage_l_1x_coco_0.1x_backbone_lr --device cuda --dump-info
. Thanks in advance!The text was updated successfully, but these errors were encountered: