训练yolov8时报错ValueError: (InvalidArgument) The 'shape' attribute
收藏
用paddle训练yolov8时报错:ValueError: (InvalidArgument) The 'shape' attribute in ReshapeOp is invalid. The input tensor X'size must be divisible by known capacity of 'shape'. But received X's shape = [2147450879], X's size = 2147450879, 'shape' is [-1, 4], known capacity of 'shape' is -4. [Hint: Expected output_shape[unk_dim_idx] * capacity == -in_size, but received output_shape[unk_dim_idx] * capacity:-2147450876 != -in_size:-2147450879.] (at /paddle/paddle/fluid/operators/reshape_op.cc:190) [operator < reshape2 > error]
配置batch size=1,单GPU,paddle2.3.2,cuda11.2
0
收藏
请登录后评论
看报错是输入的数据维度不对
那是要改图片输入大小吗
可能是