Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in filenames file while training #135

Open
abdelrahmanmasoud opened this issue May 30, 2022 · 0 comments
Open

Error in filenames file while training #135

abdelrahmanmasoud opened this issue May 30, 2022 · 0 comments

Comments

@abdelrahmanmasoud
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant