Skip to content

图片输出问题 #1

Description

@ywfan617

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,输出的数字为什么发生了旋转了类似的变化。这是什么原因,您有遇到过吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions