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

Migrate PyTorch Lightning to use Flower Datasets #2456

Merged
merged 15 commits into from Dec 20, 2023

Conversation

adam-narozniak
Copy link
Member

@adam-narozniak adam-narozniak commented Oct 4, 2023

Issue

PyTroch lightning quickstart used PyTroch download of the mnist dataset.

Solution

Migrate it to use Flower Datasets.

Explanation

The callate function to the DataLoader is needed to meet the PyTorch Lightning requirement on the dataloader. It gets rid of dict-like behavior and changes it to a list-with-x,y-like behavior as typically is done.

@jafermarq jafermarq enabled auto-merge (squash) December 20, 2023 09:22
@jafermarq jafermarq merged commit 089cd30 into main Dec 20, 2023
27 checks passed
@jafermarq jafermarq deleted the fds-migrate-pytroch-lightning branch December 20, 2023 16:59
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.

None yet

3 participants