Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

图片输出问题 #1

Open
ywfan617 opened this issue Feb 3, 2020 · 0 comments
Open

图片输出问题 #1

ywfan617 opened this issue Feb 3, 2020 · 0 comments

Comments

@ywfan617
Copy link

ywfan617 commented Feb 3, 2020

display_array[pad + j * (height + pad) + np.arange(height),
pad + i * (width + pad) + np.arange(width)[:, np.newaxis]] =
x[current_image, :].reshape((height, width)) / max_val
您好,我遇到一个问题,您ex3的displayData文件中的上述代码如果我换成
display_array[pad + j * (height+1):(j+1)* (height + pad),
pad + i * (width + pad) :(i+1) * (width + pad) ] =
x[current_image, :].reshape((height, width)) / max_val,输出的数字为什么发生了旋转了类似的变化。这是什么原因,您有遇到过吗?

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

No branches or pull requests

1 participant