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
Hello I'm trying to train model with my custom datasets
but, it shows error below.
TypeError: Caught TypeError in DataLoader worker process 0.
TypeError: object of type 'module' has no len()
I saw past's Issue so I edit data_loader as
self.noise_imgs = [os.path.join(root, name)
for root, dirs, files in os.walk(base)
for name in files
if name.endswith(('png'))]
I think It shows problem in noise part
espacially here
if self.opt['phase'] == 'train':
print(self.opt)
# add noise to LR during train
if self.opt['aug'] and 'noise' in self.opt['aug']:
print(len(self.noises))
noise = self.noises[np.random.randint(0, len(self.noises))]
img_LQ = torch.clamp(img_LQ + noise, 0, 1)
Hello I'm trying to train model with my custom datasets
but, it shows error below.
I think It shows problem in noise part
espacially here
and this is my yml file that relates with train
I need your help...!
The text was updated successfully, but these errors were encountered: