Skip to content
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

How to create tfrecords for VGGFace2 dataset using utils/dataprocess.py. #68

Open
Mamtesh11 opened this issue Jul 7, 2020 · 2 comments

Comments

@Mamtesh11
Copy link

Thanks for sharing code for this MobileFaceNet!

I am trying to train this on VGGFace2 dataset, to do that train_nets.py required tfrecords as input data. I am generating tfrecords using below script.

https://github.com/Merle314/WildFace/blob/master/tools/convert_vggface2.py

This script creates multiple shared of tfrecord, I created multiple shared and single shared both and feed to train_nets.py. In the both the cases I am getting below error.

tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 76800 values, but the requested shape has 37632

I am suspecting above error because of inappropriate format of tfrecord. So, kindly help me to generate correct tfrecords.

Thanks!

@malik-anhar
Copy link

Hey @Mamtesh11 I got the same issue. Input to reshape is a tensor with 76800 values, but the requested shape has 37632. Have you found the solution?

@Mamtesh11
Copy link
Author

Hi @malik-anhar,

I have overcome from that error after using the tfrecords from VGGFace2@GoogleDrive.

I hope this will help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants