wenbowen123 / BundleTrack

[IROS 2021] BundleTrack: 6D Pose Tracking for Novel Objects without Instance or Category-Level 3D Models
Other
610 stars 66 forks source link

Running transducive-vos-pytorch in the docker container returns torch not found and mask issue #28

Closed kausiksivakumar closed 2 years ago

kausiksivakumar commented 2 years ago

Running python transductive-vos.pytorch/run_video.py --img_dir [THE PATH TO COLOR FILES] --init_mask_file [THE INITIAL MASK FILE YOU PREPARED ABOVE] --mask_save_dir [WHERE TO SAVE] to generate masks returns that torch not found error in the container. If I try to install torch it screws up the numpy version due to which I am unable to proceed.

I also wanted to ask what these mask represent. I thought that the BundleTrack code only requires mask to be at time t=0 (initially) but when I look at the dataset I found that masks were available in plenty for each image, could you help me understand this. Thanks

kausiksivakumar commented 2 years ago

If anyone is stuck with the same issue, install pytorch inside the container and do pip install -U numpy . This solves the issue