Skip to content

Replacing obsolete function in documentation #3370

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

Closed
oussamachaib opened this issue May 30, 2025 · 1 comment · Fixed by oussamachaib/tutorials#1 or #3371
Closed

Replacing obsolete function in documentation #3370

oussamachaib opened this issue May 30, 2025 · 1 comment · Fixed by oussamachaib/tutorials#1 or #3371
Labels
module: vision Torchvision issues

Comments

@oussamachaib
Copy link
Contributor

oussamachaib commented May 30, 2025

The Datasets & DataLoaders tutorial uses an obsolete function (read_image) to decode digital images and convert them into torch tensors. I suggest replacing the function by its up-to-date equivalent (decode_image).

I have made a pull request.

cc @datumbox @nairbv @fmassa @NicolasHug @YosuaMichael

@svekars
Copy link
Contributor

svekars commented May 30, 2025

Thank you @oussamachaib! Can you please submit against the tutorial repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: vision Torchvision issues
Projects
None yet
2 participants