Skip to content
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

taking improper path #32

Open
ShivaniSwadi opened this issue Jan 2, 2023 · 0 comments
Open

taking improper path #32

ShivaniSwadi opened this issue Jan 2, 2023 · 0 comments

Comments

@ShivaniSwadi
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant