Skip to content
#

deepface

Here are 9 public repositories matching this topic...

Language: Python
Filter by language

DeepNude's algorithm and general image generation theory and practice research, including pix2pix, CycleGAN, UGATIT, DCGAN, SinGAN, ALAE, mGANprior, StarGAN-v2 and VAE models (TensorFlow2 implementation). DeepNude的算法以及通用生成对抗网络(GAN,Generative Adversarial Network)图像生成的理论与实践研究。

  • Updated Jun 28, 2020
  • Python
DeepFace
lukkowal5
lukkowal5 commented Nov 18, 2019

Hi,

How can I read/align/prepare face for making predict on trained model?
I made code like this:

    model = create_deepface()
    model.load_weights('VGGFace2_DeepFace_weights_val-0.9034.h5')
    img = load_img(path)
    img = img.resize((152,152))
    img_array = img_to_array(img)
    img_array = img_array.reshape((-1, 152, 152, 3))
    res = model.predict(img_array)
``

Improve this page

Add a description, image, and links to the deepface topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the deepface topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.