GIQA
GIQA copied to clipboard
ValueError: Expected the input data X have 774 features, but got 38 features
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
The PCA model do compress the information from 2048 channel to 774 channel, you may check if there's something wrong in the PCA model, or maybe your package version is not correct.