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
Traceback (most recent call last):
File "train.py", line 249, in
main()
File "train.py", line 107, in main
train_set = create_dataset(dataset_opt)
File "/InvDN-main/codes/data/init.py", line 36, in create_dataset
dataset = D(dataset_opt)
File "/InvDN-main/codes/data/LQGTRN_dataset.py", line 25, in init
self.paths_GT, self.sizes_GT = util.get_image_paths(self.data_type, opt['dataroot_GT'])
File "/InvDN-main/codes/data/util.py", line 52, in get_image_paths
paths = sorted(_get_paths_from_images(dataroot))
File "/InvDN-main/codes/data/util.py", line 23, in _get_paths_from_images
assert os.path.isdir(path), '{:s} is not a valid directory'.format(path)
AssertionError: is not a valid directory
Traceback (most recent call last):
File "/InvDN-main/codes/train.py", line 250, in
main()
File "/InvDN-main/codes/train.py", line 37, in main
opt = option.parse(args.opt, is_train=True)
File "\InvDN-main\codes\options\options.py", line 10, in parse
with open(opt_path, mode='r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered:
I have some trouble. I can't solve it. I'm sorry
Traceback (most recent call last):
File "train.py", line 249, in
main()
File "train.py", line 107, in main
train_set = create_dataset(dataset_opt)
File "/InvDN-main/codes/data/init.py", line 36, in create_dataset
dataset = D(dataset_opt)
File "/InvDN-main/codes/data/LQGTRN_dataset.py", line 25, in init
self.paths_GT, self.sizes_GT = util.get_image_paths(self.data_type, opt['dataroot_GT'])
File "/InvDN-main/codes/data/util.py", line 52, in get_image_paths
paths = sorted(_get_paths_from_images(dataroot))
File "/InvDN-main/codes/data/util.py", line 23, in _get_paths_from_images
assert os.path.isdir(path), '{:s} is not a valid directory'.format(path)
AssertionError: is not a valid directory
Traceback (most recent call last):
File "/InvDN-main/codes/train.py", line 250, in
main()
File "/InvDN-main/codes/train.py", line 37, in main
opt = option.parse(args.opt, is_train=True)
File "\InvDN-main\codes\options\options.py", line 10, in parse
with open(opt_path, mode='r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
The text was updated successfully, but these errors were encountered: