New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation Error? #24
Comments
Hi, The clustering might fail to be trained. I have some questions to help you.
EDIT For validation set, the source code generates the validation set automatically (last 50 images in each class. So, you should not separate the validation set and the training set for food and animal) The fild system must be like: Then, image651~image700 will be the validation set. |
Hi, |
Thank you for the check. I think that the issue might be from the improper directory. (Explanation in EDIT) |
oh!I checked the pre-trained animalFaces10_0_00 model. |
The source code automatically finds the 10 folders.. Hmm I will reply after my personal work. |
I got the idea~you picked the 10 folders use this code I wonder that if the specific folder different makes the final result wrong? it is strange. |
Different classes choice does not make all the results wrong... Did you check the accuracy of your model while training? The clustering seems to fail. But without any changes then why..? |
Sorry,I find the error. |
Hi,sorry to bother you
But I use the validation coda to validate my training model
"python main.py --gpu 3 --validation --load_model GAN_20210928-031155 --dataset animal_faces --data_path 'data'"
but it get totally error result.
It gather the all 50 val dataset to one class
I draw the TSNE,it seems like that
and print " (i, len(cluster_grid[i]), cluster_map[i]) " it shows that:
0 0 0
1 500 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
and the results are nothing changed.
Do you know the reason?
The text was updated successfully, but these errors were encountered: