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: Tried to convert 'y' to a tensor and failed. Error: None values not supported." #1

Open
yudengdeng opened this issue Apr 6, 2021 · 0 comments

Comments

@yudengdeng
Copy link

yudengdeng commented Apr 6, 2021

Hello, your paper on the multi-modal method on crop classification is really great.

But when I followed your readme, renamed data and result folders' names, then tried to replicate your result using "train-gridsearch.py" in folders lstm or bilstm, I encountered the error message of "ValueError: Tried to convert 'y' to a tensor and failed. Error: None values not supported."

When I dug into the codes, I found it happened when it called line 92 in "optimziers.py": "None in grads". I am wondering whether you have any encounter this issue or have you got any suggestion for me?

Thank you very much for your reading and 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