Skip to content

"TypeError: Invalid shape (28, 28, 1) for image data" in SageMaker_AIShield_Integration.ipynb #23

@ivan-khvostishkov

Description

@ivan-khvostishkov

If I run SageMaker_AIShield_Integration.ipynb in SageMaker Studio default Data Science (Python 3) kernel, I get the error in the cell "Visualize few random data sample":

TypeError: Invalid shape (28, 28, 1) for image data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions