You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ipython-input-5-ad41ec68ba80> in
7 plt.figure(figsize=(8,8))
8 for i in range(9):
----> 9 img,label = ds_train[i]
10 img = img.permute(1,2,0)
11 ax = plt.subplot(3,3,i+1)
E:\anaconda\envs\pytorch\lib\site-packages\torchvision\datasets\folder.py in getitem(self, index)
151 sample = self.loader(path)
152 if self.transform is not None:
--> 153 sample = self.transform(sample)
154 if self.target_transform is not None:
155 target = self.target_transform(target)
E:\anaconda\envs\pytorch\lib\site-packages\torchvision\transforms\transforms.py in call(self, img)
65 def call(self, img):
66 for t in self.transforms:
---> 67 img = t(img)
68 return img
69
TypeError: object() takes no parameters
The text was updated successfully, but these errors were encountered:
ipython-input-5-ad41ec68ba80> in
7 plt.figure(figsize=(8,8))
8 for i in range(9):
----> 9 img,label = ds_train[i]
10 img = img.permute(1,2,0)
11 ax = plt.subplot(3,3,i+1)
E:\anaconda\envs\pytorch\lib\site-packages\torchvision\datasets\folder.py in getitem(self, index)
151 sample = self.loader(path)
152 if self.transform is not None:
--> 153 sample = self.transform(sample)
154 if self.target_transform is not None:
155 target = self.target_transform(target)
E:\anaconda\envs\pytorch\lib\site-packages\torchvision\transforms\transforms.py in call(self, img)
65 def call(self, img):
66 for t in self.transforms:
---> 67 img = t(img)
68 return img
69
TypeError: object() takes no parameters
The text was updated successfully, but these errors were encountered: