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

Datasets: add support for pathlib.Path #2173

Merged
merged 19 commits into from
Jul 18, 2024

Conversation

pioneerHitesh
Copy link
Contributor

@pioneerHitesh pioneerHitesh commented Jul 17, 2024

Closes #1616

@github-actions github-actions bot added the datasets Geospatial or benchmark datasets label Jul 17, 2024
@adamjstewart adamjstewart added this to the 0.6.0 milestone Jul 17, 2024
@github-actions github-actions bot added the testing Continuous integration testing label Jul 18, 2024
@adamjstewart adamjstewart changed the title Pathlib Datasets: add support for pathlib.Path Jul 18, 2024
Copy link
Collaborator

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

I think this is finally ready to merge!

First, I want to thank @pioneerHitesh for not giving up on this PR. This was a monumental effort, and I'm sure took way longer than you expected when you signed up to work on #1616 almost a year ago!

Second, I want to thank our CI for testing this PR. I wasn't convinced that older versions of torchvision would support pathlib, and was especially worried about all of our dependencies that lack type hints. But according to CI, all versions of all dependencies magically support pathlib for all purposes we use them for!

@adamjstewart adamjstewart merged commit 44ce007 into microsoft:main Jul 18, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
datasets Geospatial or benchmark datasets testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for pathlib
2 participants