PaddleX icon indicating copy to clipboard operation
PaddleX copied to clipboard

配置好环境后,运行示例代码,报错

Open yanziwu621 opened this issue 1 year ago • 3 comments

File "/......./PaddleX/paddlex/inference/components/paddle_predictor/predictor.py", line 145, in _create predictor = create_predictor(config) RuntimeError: (PreconditionNotMet) Tensor's dimension is out of bound.Tensor's dimension must be equal or less than the size of its memory.But received Tensor's dimension is 8, memory's size is 0. [Hint: Expected numel() * SizeOf(dtype()) <= memory_size(), but received numel() * SizeOf(dtype()):8 > memory_size():0.] (at /paddle/paddle/phi/core/dense_tensor_impl.cc:55) [operator < cast > error]

yanziwu621 avatar Oct 18 '24 01:10 yanziwu621