We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00c8e56 commit 78b6b56Copy full SHA for 78b6b56
beginner_source/basics/data_tutorial.py
@@ -190,7 +190,7 @@ def __len__(self):
190
191
def __getitem__(self, idx):
192
img_path = os.path.join(self.img_dir, self.img_labels.iloc[idx, 0])
193
- image = read_image(img_path)
+ image = decode_image(img_path)
194
label = self.img_labels.iloc[idx, 1]
195
if self.transform:
196
image = self.transform(image)
0 commit comments