the provided recursive_sequence_lengths info is invalid
Created by: Rayarrow94
输入query_profile_ids_conf是[[0,15],[89,64,70],[149,7979,70,3],[0,3],[7777,35]]这样的,包含5个query。
定义变量: query_profile_ids_conf = DataConfig(name='firstw3', shape=[-1, 5, 1], dtype='int64', lod_level=1)
class DataConfig(object): def init(self, name, shape, dtype, lod_level=0): self.name = None self.shape = shape self.dtype = dtype self.lod_level = lod_level
报错: Exception in thread Thread-1: Traceback (most recent call last): File "/home/disk2/hubo/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner self.run() File "/home/disk2/hubo/anaconda3/lib/python3.6/threading.py", line 864, in run self._target(self._args, self._kwargs) File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/layers/io.py", line 593, in provider_thread raise ex File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/layers/io.py", line 575, in provider_thread for tensors in func(): File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/layers/io.py", line 625, in tensor_provider for slots in paddle_reader(): File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/data_feeder.py", line 417, in reader_creator yield self.feed(item) File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/data_feeder.py", line 289, in feed ret_dict[each_name] = each_converter.done() File "/home/disk2/hubo/anaconda3/lib/python3.6/site-packages/paddle/fluid/data_feeder.py", line 97, in done t.set_recursive_sequence_lengths(self.lod) paddle.fluid.core_avx.EnforceNotMet: the provided recursive_sequence_lengths info is invalid at [/paddle/paddle/fluid/pybind/pybind.cc:392] PaddlePaddle Call Stacks: 0 0x7fc7c118a2f0p void paddle::platform::EnforceNotMet::Init<char const>(char const, char const, int) + 352 1 0x7fc7c118a669p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 137 2 0x7fc7c1182f43p 3 0x7fc7c11bccb6p 4 0x7fc83a4f1b94p _PyCFunction_FastCallDict + 340 5 0x7fc83a5817cep 6 0x7fc83a5a3cbap _PyEval_EvalFrameDefault + 762 7 0x7fc83a57b70bp 8 0x7fc83a581755p 9 0x7fc83a5a3cbap _PyEval_EvalFrameDefault + 762 10 0x7fc83a57b70bp 11 0x7fc83a581755p 12 0x7fc83a5a3cbap _PyEval_EvalFrameDefault + 762 13 0x7fc83a581b36p 14 0x7fc83a5a4136p _PyEval_EvalFrameDefault + 1910 15 0x7fc83a581b36p 16 0x7fc83a5a4136p _PyEval_EvalFrameDefault + 1910 17 0x7fc83a57ca9ep PyEval_EvalCodeEx + 2414 18 0x7fc83a57d376p 19 0x7fc83a4f199ep PyObject_Call + 62 20 0x7fc83a5a5470p _PyEval_EvalFrameDefault + 6832 21 0x7fc83a57b70bp 22 0x7fc83a581755p 23 0x7fc83a5a3cbap _PyEval_EvalFrameDefault + 762 24 0x7fc83a57b70bp 25 0x7fc83a581755p 26 0x7fc83a5a3cbap _PyEval_EvalFrameDefault + 762 27 0x7fc83a57bd7bp _PyFunction_FastCallDict + 283 28 0x7fc83a4f1f5fp _PyObject_FastCallDict + 623 29 0x7fc83a4f6a03p _PyObject_Call_Prepend + 99 30 0x7fc83a4f199ep PyObject_Call + 62 31 0x7fc83a5f1b56p 32 0x7fc839fabdf3p 33 0x7fc839cd92cdp clone + 109