pytorch / pytorch/tutorials

Feedback about Datasets & DataLoaders

Open
#3,522 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
9.3k
Forks
4.4k
Avg merge
1d 21h
Merged PRs (30d)
4

Description

There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/basics/data_tutorial.html

In the subsection explaining the __get__item() function, the second line of the rewritten function is image = read_image(img_path)
but this seems like a mistake and it should instead be image = decode_image(img_path)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open docs/tutorials/beginner/basics/data_tutorial.html and read the Datasets & DataLoaders subsection covering the getitem function. Compare the rewritten function's image-loading line with the surrounding tutorial and referenced APIs. Done means the example uses the correct function consistently and the documentation renders without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.