[ENH] Adience download with credentials - #155
Merged
Merged
Conversation
…onfig hashing - Replace filesystem-based partition logic with CSV-based train/test splits - Introduce deterministic cache key based on ranges, test_size and version - Persist split configuration in JSON alongside cached splits - Remove symlink-based partitioning in favour of CSV-driven loading - Add split cache validation via config.json and file existence checks
victormvy
marked this pull request as ready for review
May 12, 2026 07:53
[MNT] Use GPU runner wrapper script to avoid OOM errors
…onfig hashing - Replace filesystem-based partition logic with CSV-based train/test splits - Introduce deterministic cache key based on ranges, test_size and version - Persist split configuration in JSON alongside cached splits - Remove symlink-based partitioning in favour of CSV-driven loading - Add split cache validation via config.json and file existence checks
…o enh/adience-download
franberchez
approved these changes
May 13, 2026
franberchez
left a comment
Contributor
There was a problem hiding this comment.
Thanks @victormvy , great job on the improvement. The new fake dataset definition is better, and giving users the option to download the full dataset with their credentials is a fantastic touch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces several improvements and refactors to the
Adiencedataset class, primarily focusing on download handling, API consistency, and test robustness.1. Automatic dataset download
__init__:downloadusernamepassworddownload=Trueand valid credentials are provided, the dataset is automatically downloaded into the specified root directory.2. Root directory behaviour update
rootparameter has been updated:torchvision.datasets.VisionDataset.adiencesubdirectory.3. Warning for
rangesmodificationrangesparameter.4. Test suite improvements
The test suite for the Adience dataset has been significantly expanded and refactored:
rangeschangestest_sizechanges5. Test utilities refactor
tests/utils/adience.py