There is the following issue on this page: https://docs.pytorch.org/tutorials/beginner/basics/data_tutorial.html
There is a usage of outdated func in example for the method getitem. Firstly in the section "Creating a Custom Dataset for your files" in method getitem it is written image = decode_image(img_path)
, but later in example for description of method getitem there is used outdated func image = read_image(img_path)
.