Moire-Pattern-Detection
Moire-Pattern-Detection copied to clipboard
predict error
aleImage imgVector = imgLL.reshape(1, WIDTH*HEIGHT) ValueError: cannot reshape array of size 126025 into shape (1,187500)
@zlszhonglongshen 你好,请问你解决了吗 顺便能告诉一下各个库的版本吗,谢谢
"Note - Resize Images to WIDTH = 1000 and HEIGHT = 750"
建议训练图片修改成以上比例
我使用以下方式重新修改了图片的宽高后, 没有出现上述错误
from PIL import Image
img = Image.open("image/1.jpg")
img = img.resize(size=(1000, 750))
img.save("img.jpg")
@luoyexk 谢谢,请问下你这边运行成功的各个包的版本能说下吗