paddle cannot reshape array of size 1 into shape (3,100,100)
时间: 2024-05-29 08:12:52 浏览: 115
paddle-lite的python3的whl文件
3星 · 编辑精心推荐
This error occurs when you are trying to reshape an array of size 1 into a shape that is not compatible with the original size. In this case, it seems like you are trying to reshape an array of size 1 into a shape of (3,100,100), which is not possible.
To fix this error, you need to check the shape of the array before trying to reshape it. Make sure that the original array has the correct shape and size to be reshaped into the desired shape. If the original array is not the correct shape or size, you may need to modify it or create a new array with the desired shape before attempting to reshape it.
阅读全文