Skip to content

taking improper path #32

@ShivaniSwadi

Description

@ShivaniSwadi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions