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

kpt = self.im_path_to_kpt[key]['kpt'] KeyError: 'Market-1501-v15.09.15/bounding_box_train/0685_c4s3_063304_03.jpg' #45

Open
1abc23456 opened this issue Mar 30, 2023 · 0 comments

Comments

@1abc23456
Copy link

Traceback (most recent call last):
File "C:\Users\zs.conda\envs\py38\lib\site-packages\torch\utils\data\dataloader.py", line 652, in next
data = self._next_data()
File "C:\Users\zs.conda\envs\py38\lib\site-packages\torch\utils\data\dataloader.py", line 692, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "C:\Users\zs.conda\envs\py38\lib\site-packages\torch\utils\data_utils\fetch.py", line 49, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "C:\Users\zs.conda\envs\py38\lib\site-packages\torch\utils\data_utils\fetch.py", line 49, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "E:\EANet-master\package\data\dataset.py", line 41, in getitem
sample['pap_mask'] = self.get_pap_mask(im_path)
File "E:\EANet-master\package\data\dataset.py", line 78, in get_pap_mask
kpt = self.im_path_to_kpt[key]['kpt']
KeyError: 'Market-1501-v15.09.15/bounding_box_train/0685_c4s3_063304_03.jpg'

help me to resolve this!thanks!

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