Skip to content

ValueError: Expected the input data X have 774 features, but got 38 features #13

@JennyVanessa

Description

@JennyVanessa

Dear authors,
I am interested in your work and I want to test it, but i meet this error:

ValueError: Expected the input data X have 774 features, but got 38 features

I run the "get the GMM-GIQA score" command only, like this

python gmm_score.py test/test_images --gmm_path checkpoints/gmm-cat-pca95-full7.pkl --pca_path checkpoints/pca95-cat.pkl --output_file test/output/output.txt --gpu 0

and I thought it maybe was the problem of PCA model that you provided, which reducing the 2048-dimensions to 38 dimensions.

:) looking forward to your reply. thx

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