Skip to content

ch13 利用pca进行图像压缩出现以下错误,请问有出现相同错误的同学吗? #8

@gaoya-J

Description

@gaoya-J

Traceback (most recent call last):
File "F:/C-Practice/PCA-MNIST.py", line 36, in
instances.append(x[y==i][0])
IndexError: index 0 is out of bounds for axis 0 with size 0

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