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

RuntimeError: 'lengths' array has to be sorted in decreasing order #37

Open
happycjksh opened this issue Jul 12, 2021 · 1 comment
Open

Comments

@happycjksh
Copy link

图片
Thanks for your sharing. when I used your dataset to drive your model, I get the problem. But I have followed your requirements to install the environment. Do you know how to solve it?

@happycjksh
Copy link
Author

I guess the problem is caused by the version of torchtext. However, I have followed the requirements.txt file to construct the environment. I still don't know how to solve it?

@happycjksh happycjksh changed the title I drive the model on your dataset, but get the problem RuntimeError: 'lengths' array has to be sorted in decreasing order Jul 15, 2021
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