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
File "bts_main.py", line 607, in
main()
File "bts_main.py", line 603, in main
main_worker(args.gpu, ngpus_per_node, args)
File "bts_main.py", line 404, in main_worker
dataloader_eval = BtsDataLoader(args, 'online_eval')
File "/home/BSc2022/abdelrahmanmasoud/bts/pytorch/bts_dataloader.py", line 62, in init
self.testing_samples = DataLoadPreprocess(args, mode, transform=preprocessing_transforms(mode))
File "/home/BSc2022/abdelrahmanmasoud/bts/pytorch/bts_dataloader.py", line 87, in init
with open(args.filenames_file_eval, 'r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
I get this error while training.However,filename isn't empty and if I write print statement in bts_dataloader before line 87 ,it will print me whatever is in the file.
The text was updated successfully, but these errors were encountered:
File "bts_main.py", line 607, in
main()
File "bts_main.py", line 603, in main
main_worker(args.gpu, ngpus_per_node, args)
File "bts_main.py", line 404, in main_worker
dataloader_eval = BtsDataLoader(args, 'online_eval')
File "/home/BSc2022/abdelrahmanmasoud/bts/pytorch/bts_dataloader.py", line 62, in init
self.testing_samples = DataLoadPreprocess(args, mode, transform=preprocessing_transforms(mode))
File "/home/BSc2022/abdelrahmanmasoud/bts/pytorch/bts_dataloader.py", line 87, in init
with open(args.filenames_file_eval, 'r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
I get this error while training.However,filename isn't empty and if I write print statement in bts_dataloader before line 87 ,it will print me whatever is in the file.
The text was updated successfully, but these errors were encountered: