NVlabs / Deep_Object_Pose

Deep Object Pose Estimation (DOPE) – ROS inference (CoRL 2018)
Other
1.02k stars 287 forks source link

How can we use DOPE without camera #286

Open Yukizyh opened 1 year ago

Yukizyh commented 1 year ago

Hi, I'm using wsl2 ubuntu 20.04 and I've tried using usbipd to connect to a usb camera but it doesn't work, so I'm wondering if it's possible to use DOPE without a camera node? How do I do this, thanks!

TontonTremblay commented 1 year ago

You could use DOPE with images. Did you try the folder no_ros_inference?

Yukizyh commented 1 year ago

Hi, But I didn't find the no_ros_inference folder.

TontonTremblay commented 1 year ago

https://github.com/NVlabs/Deep_Object_Pose/tree/master/scripts/train2

Sorry it was as the internal name. Check this part.

On Mon, Mar 6, 2023 at 15:39 Yukizyh @.***> wrote:

Hi, But I didn't find the no_ros_inference folder.

— Reply to this email directly, view it on GitHub https://github.com/NVlabs/Deep_Object_Pose/issues/286#issuecomment-1457220736, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK6JIC64ZNIORJSHZG4MKLW2ZYUDANCNFSM6AAAAAAVQ4RQOY . You are receiving this because you commented.Message ID: @.***>

Yukizyh commented 1 year ago

Thanks for replying. I tried the inference.py but there is some error:

1678151384413

I have tried changing the path to weight and using other objects like 'soup', but they all failed for the same reason : ERROR: Unable to find model weights: 'weights_dope/resnet_simple/alphabe_soup.pth'. I also tried to use the whole path of the weight, it doesn't work. And there is a warning here that the camera cannot be opened. I would like to know what are the changes that need to be made.

Yukizyh commented 1 year ago

I created the path that matches the weight path in config file. So, it works now. Thanks a lot. But there is an error that shows up when I try to generate the dataset: 1678162337468 And my cuda is 12.1. Does this problem cause by the wrong version cuda?

TontonTremblay commented 1 year ago

I will refer you on how to install nvisii, you need an NVIDIA GPU with up to date drivers.

Yukizyh commented 1 year ago

u

Thanks a lot! Where can I find the reference?

TontonTremblay commented 1 year ago

nvisii.com