Facenet: Total number of images: 0 Number of successfully aligned images: 0

Created on 4 Apr 2017  路  6Comments  路  Source: davidsandberg/facenet

Hi,

I ran the align_dataset_mtcnn.py with this instruction: python align_dataset_mtcnn.py AlGore AlGore-aligned/
and this message appeared:
Total number of images: 0
Number of successfully aligned images: 0
my database is LFW and I use 8 jpg files of Al_Gore folder. can you guide me what makes this result?

best,

Most helpful comment

I think you need to provide folders containing images inside AlGore folder. You can't have the images directly inside the folder.

All 6 comments

I think you need to provide folders containing images inside AlGore folder. You can't have the images directly inside the folder.

hi
i m getting same error.i have compiled
python src/align/align_dataset_mtcnn.py ~/datasets/lfw/raw ~/datasets/lfw/lfw_mtcnnpy_160 --image_size 160 --margin 32
and getting error --
...
/home/mukesh/datasets/lfw/raw/lfw/Paul_Kagame: [Errno 21] Is a directory: '/home/mukesh/datasets/lfw/raw/lfw/Paul_Kagame'
Total number of images: 5749
Number of successfully aligned images: 0
please help.
thanks

you have the directory Paul_Kagame(should only contain image, it doesn't allow subfolders) in the path /home/mukesh/datasets/lfw/raw/lfw/, delete it and try again

thanks but in directory Paul_kagame and all other directories, only images are there.

then you have to change the code to handle the subfolders that contains images otherwise it won't work

okay, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MaartenBloemen picture MaartenBloemen  路  3Comments

shdyn picture shdyn  路  4Comments

billtiger picture billtiger  路  3Comments

tonybaigang picture tonybaigang  路  3Comments

Leedonggeon picture Leedonggeon  路  3Comments