Skip to main content

Generate a random face created by DCGAN trained with DigiFace1M database

Project description

DCGAN

Deep Convolutional Generative Adversarial Networks (DCGAN) is a class of generative adversarial networks (GAN) introduced by Radford et. al. in the paper Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks. The generator and discriminator of DCGAN are contructed of convolutional and convolutional-transpose layers.

Usage

Install the package (Consider installing in a virtual environment)

pip install gan_face_generate

Create your own GAN-generated face

gan_face_generate

The package works with python >= 3.9, <3.12. Check CI Result

Dataset

DigiFace-1M is a generated dataset for training face recognition models. The face images are high quality and thus are qualified to train a GAN network. There are two additional advantages of the dataset:

  • Ethical considerations: The use of existing datasets that were collected from web images without explicit consent. In contrast, digital faces in DigiFace-1M are generated using a generative model constructed from high-quality head scans of a limited number of individuals obtained with consent.

  • Data bias - DigiFace-1M is generated in a controlled pipeline, so that the racial distribution is guaranteed to be balance.

Results

Loss in Training Process

Generated Images compared with Dataset Images

Noise Arithmetic

Reference

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gan_face_generate-1.1.1.tar.gz (13.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gan_face_generate-1.1.1-py3-none-any.whl (13.3 MB view details)

Uploaded Python 3

File details

Details for the file gan_face_generate-1.1.1.tar.gz.

File metadata

  • Download URL: gan_face_generate-1.1.1.tar.gz
  • Upload date:
  • Size: 13.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.13

File hashes

Hashes for gan_face_generate-1.1.1.tar.gz
Algorithm Hash digest
SHA256 2629caf701b009e7501710272b8701f20c089e9e2371f54d39e70149740c8041
MD5 6d7950edcff0daf0da6207c1644fc56b
BLAKE2b-256 fb0a2b83c5e035d6c8792c24240151e39dfb4ba430aa23d41e3c4d75acd66f85

See more details on using hashes here.

File details

Details for the file gan_face_generate-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gan_face_generate-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 24102f4be41d164e44251168ede0458a45e498a888c81493e2aea48529640569
MD5 a013c92eafa909c55cc99d54817bd07b
BLAKE2b-256 9504bb51d207d2c5d34ea80ba7c0e4734b879466810700a9e81fa540d13e4eb2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page