Feedback about Datasets & DataLoaders
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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