detectRecog / PointTrack

PointTrack (ECCV2020 ORAL): Segment as Points for Efficient Online Multi-Object Tracking and Segmentation
Other
261 stars 47 forks source link

taking improper path #32

Open ShivaniSwadi opened 1 year ago

ShivaniSwadi commented 1 year ago

Hi. @detectRecog i tried to run the code (myenv) C:\Users\Bharath\PointTrack>python -u test_mots_se.py car_test_se_to_save but im getting this path error which i m unable to fix can you help me out.

File "C:\Users\Bharath\PointTrack\datasets\KittiMOTSDataset.py", line 129, in getitem sample = self.get_data_from_mots(index) File "C:\Users\Bharath\PointTrack\datasets\KittiMOTSDataset.py", line 118, in get_data_from_mots instance = Image.open(os.path.join(self.mots_instance_root, path)) File "C:\Users\Bharath\anaconda3\envs\myenv\lib\site-packages\PIL\Image.py", line 3131, in open fp = builtins.open(filename, "rb") FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Bharath/PointTrack/kittiRoot/instance\kittiRoot/instance\0002\000000.png'

it is not taking the right path for the instance directory