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

OChuman dataset #70

Merged
merged 11 commits into from
Aug 17, 2020
Merged

OChuman dataset #70

merged 11 commits into from
Aug 17, 2020

Conversation

jin-s13
Copy link
Collaborator

@jin-s13 jin-s13 commented Aug 16, 2020

No description provided.

@jin-s13 jin-s13 requested a review from innerlee August 16, 2020 15:06
for cls in self.classes[1:]])
self.image_set_index = self.coco.getImgIds()
self.num_images = len(self.image_set_index)
self.id2name, self.name2id = _get_mapping_id_name(self.coco.imgs)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

take this as a game, but this function is a one-liner
id2name = {id:image['file_name'] for id, image in imgs.items()}

@innerlee innerlee merged commit cfe773d into master Aug 17, 2020
@innerlee innerlee deleted the ochuman branch August 17, 2020 14:22
rollingman1 pushed a commit to rollingman1/mmpose that referenced this pull request Nov 5, 2021
shuheilocale pushed a commit to shuheilocale/mmpose that referenced this pull request May 6, 2023
HAOCHENYE pushed a commit to HAOCHENYE/mmpose that referenced this pull request Jun 27, 2023
* [Feature]: Add optimizer hook

* [Fix]: Update docstring

* [Fix]: Add call with in UT
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

Successfully merging this pull request may close these issues.

2 participants