yl-1993 / learn-to-cluster

Learning to Cluster Faces (CVPR 2019, CVPR 2020)
MIT License
705 stars 143 forks source link

On the numpy version which may cause exception #99

Open Vivecccccc opened 1 year ago

Vivecccccc commented 1 year ago

Hi @yl-1993, I've reproduced an exception when using numpy version 1.20+/1.19+ for test_cluster_det_ms1m.sh. The exception would be incompatible size when dumping KNN result to npz file:

setting an array element with a sequence. the requested array has an inhomogeneous shape after 2 dimensions. the detected shape was (584013, 2) + inhomogeneous part.

By changing numpy version to 1.18 could solve this issue. Not sure what is the root cause but could take time to modify requirements.txt.

Vivecccccc commented 1 year ago

Also, it may be noticed that the dropbox storing the re-aligned face images https://www.dropbox.com/s/wpx6tqjf0y5mf6r/faces_ms1m-refine-v2_112x112.zip?dl=0 cannot be accessed. Could you please help to take a look if available? Thanks.

tiamo405 commented 1 year ago

Also, it may be noticed that the dropbox storing the re-aligned face images https://www.dropbox.com/s/wpx6tqjf0y5mf6r/faces_ms1m-refine-v2_112x112.zip?dl=0 cannot be accessed. Could you please help to take a look if available? Thanks.

hi, Have you run the part1_test.bin test suite yet? Can I ask you some questions? I use gcnds model

cholocate commented 1 year ago

@Vivecccccc 6 months too late but same problem, this repository is not too organized.