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

NoneType Error #9

Open
Kekexinin opened this issue Jun 14, 2023 · 0 comments
Open

NoneType Error #9

Kekexinin opened this issue Jun 14, 2023 · 0 comments

Comments

@Kekexinin
Copy link

I apologize for any inconvenience caused. When calling the 'load_input_tensors(train_statement_path, model_type, model_name, max_seq_length, args.load_sentvecs_model_path)' function, if the value passed to args.load_sentvecs_model_path is empty, it results in a NoneType error when running model, old_args = torch.load(pretrained).I would greatly appreciate your assistance in answering my question at your convenience. I am sincerely grateful for your help.

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