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

ValueError when running ./gpu_squad_base.sh #260

Open
Omnis23 opened this issue Apr 6, 2020 · 3 comments
Open

ValueError when running ./gpu_squad_base.sh #260

Omnis23 opened this issue Apr 6, 2020 · 3 comments

Comments

@Omnis23
Copy link

Omnis23 commented Apr 6, 2020

Hello, I am somewhat new to text embedding models. I have successfully ran sudo./prepro_squad.sh after some troubleshooting, and have moved on to the next step in the SQuAD2.0 training/testing. Unfortunately, I continue receiving this error and am having a hard time finding out whether or not it has to do with a .records file or something else that I am not familiar with at the moment?

And if it is some .records file, how should I go about setting that up properly?

Here is what the output is:

ValueError: Tensor conversion requested dtype string for Tensor with dtype float32: 'Tensor("arg0:0", shape=(), dtype=float32, device=/device:CPU:0)'

If someone knows how to troubleshoot this in some way, please let me know. Thank you!!

@YJ-007
Copy link

YJ-007 commented May 27, 2020

Did you fix this proplem? I've got the same error...

@Omnis23
Copy link
Author

Omnis23 commented May 27, 2020 via email

@heeler-deer
Copy link

hey,I've got the same error...

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

3 participants