davidsandberg / facenet

Face recognition using Tensorflow
MIT License
13.71k stars 4.8k forks source link

pkl model file for testing MS-Celeb-1M subset pretrained model with classifier.py #315

Closed avikj closed 7 years ago

avikj commented 7 years ago

I'm trying to test the classifier that was trained on a subset of MS-Celeb-1M. I found the .pb and other files on the Google Drive link, and used the pb as the argument for 'model', but classifier.py also requires an argument for 'classifier_filename' which is a pkl.

How can I create or find this pickle file?

MaartenBloemen commented 7 years ago

You need to generate it, how to do that you can read that on this wiki page.

avikj commented 7 years ago

Thanks. Is it possible to use the classes from the pretrained model and not supply any data of my own?

MaartenBloemen commented 7 years ago

Sure that's no problem at all

avikj commented 7 years ago

How would I do that? would I just specify data_dir as an empty directory?