Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Taegeun Kwack <[email protected]>
  • Loading branch information
gogori6565 and rhkr8521 committed Sep 9, 2024
1 parent 3bb3ada commit a0aa2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beginner_source/basics/data_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@

class CustomImageDataset(Dataset):
def __init__(self, annotations_file, img_dir, transform=None, target_transform=None):
self.img_labels = pd.read_csv(annotations_file, names=['file_name', 'label'])
self.img_labels = pd.read_csv(annotations_file)
self.img_dir = img_dir
self.transform = transform
self.target_transform = target_transform
Expand Down

0 comments on commit a0aa2c9

Please sign in to comment.