Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

请问训练是图片只能是高度只能是32吗?可不可以修改 #136

Open
Tianhg opened this issue Nov 2, 2018 · 1 comment
Open

Comments

@Tianhg
Copy link

Tianhg commented Nov 2, 2018

function loadAndResizeImage(imagePath)
local img = Image.load(imagePath, 3, 'byte')
img = Image.rgb2y(img)
img = Image.scale(img, 100, 32)[1]
return img
end

@bgshih

@haneSier
Copy link

haneSier commented Nov 2, 2018

不能,最后一次卷积高度已经是1

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants