Skip to content

OxfordIIITPet dataset #5116

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

Merged
merged 12 commits into from
Jan 6, 2022
Merged

OxfordIIITPet dataset #5116

merged 12 commits into from
Jan 6, 2022

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Dec 20, 2021

Addresses #5108.

cc @pmeier @bjuncek

@facebook-github-bot
Copy link

facebook-github-bot commented Dec 20, 2021

💊 CI failures summary and remediations

As of commit f248e70 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks a lot @pmeier , I made a few comments below, LMK what you think.

When running the tests locally I get a bunch of warnings about files not being closed, e.g.

  /Users/nicolashug/dev/vision/test/datasets_utils.py:163: ResourceWarning: unclosed file <_io.BufferedReader name='/var/folders/s_/440yv1k94yz4py2hr4l06qqc0000gn/T/tmpv6brn28c/oxford-iiit-pet/annotations/trimaps/Abyssinian_1.png'>

This could be related to the windows failures we're observing?

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks a lot @pmeier , LGTM! I don't see the warnings anymore so I assume the windows CI will go green :)

@pmeier pmeier merged commit 058f4bd into pytorch:main Jan 6, 2022
@pmeier pmeier deleted the datasets/oxford-pets branch January 6, 2022 16:12
facebook-github-bot pushed a commit that referenced this pull request Jan 8, 2022
Summary:
* add prototype dataset for oxford-iiit-pet

* add old-style dataset

* add tests

* fix mypy

* fix test

* remove properties and use pathlib

* target_type to target_types

* move target annotation

* add docstring

* fix test

Reviewed By: sallysyw

Differential Revision: D33479273

fbshipit-source-id: ecd1dd6b6271328ce485e28e6fcb5d2856627fb1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants