Skip to content

Commit 030a8e8

Browse files
Remove unused argument (pytorch#1805)
Co-authored-by: Holly Sweeney <[email protected]>
1 parent a6680ba commit 030a8e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/basics/data_tutorial.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def __getitem__(self, idx):
160160

161161

162162
def __init__(self, annotations_file, img_dir, transform=None, target_transform=None):
163-
self.img_labels = pd.read_csv(annotations_file, names=['file_name', 'label'])
163+
self.img_labels = pd.read_csv(annotations_file)
164164
self.img_dir = img_dir
165165
self.transform = transform
166166
self.target_transform = target_transform

0 commit comments

Comments
 (0)