data2text-plan-py icon indicating copy to clipboard operation
data2text-plan-py copied to clipboard

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

Open happycjksh opened this issue 3 years ago • 1 comments

图片 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 avatar Jul 12 '21 03:07 happycjksh

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 avatar Jul 15 '21 07:07 happycjksh