{"id":14970773,"url":"https://github.com/mbarbetti/tf-gen-models","last_synced_at":"2025-10-26T13:31:21.111Z","repository":{"id":37439363,"uuid":"451160183","full_name":"mbarbetti/tf-gen-models","owner":"mbarbetti","description":":package: Ready to use implementations of state-of-the-art generative models in TensorFlow 2","archived":false,"fork":false,"pushed_at":"2022-09-30T09:51:09.000Z","size":14905,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-29T18:22:36.478Z","etag":null,"topics":["deep-learning","gan","generative-models","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbarbetti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-23T16:19:37.000Z","updated_at":"2023-02-14T10:24:46.000Z","dependencies_parsed_at":"2022-08-18T20:30:38.081Z","dependency_job_id":null,"html_url":"https://github.com/mbarbetti/tf-gen-models","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbetti%2Ftf-gen-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbetti%2Ftf-gen-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbetti%2Ftf-gen-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbarbetti%2Ftf-gen-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbarbetti","download_url":"https://codeload.github.com/mbarbetti/tf-gen-models/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219862887,"owners_count":16555951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","gan","generative-models","python","tensorflow"],"created_at":"2024-09-24T13:44:07.383Z","updated_at":"2025-10-26T13:31:18.177Z","avatar_url":"https://github.com/mbarbetti.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg alt=\"tf-gen-models logo\" src=\"https://raw.githubusercontent.com/mbarbetti/tf-gen-models/main/.github/images/tfg-logo.png\" width=\"800\"/\u003e\n\u003c/div\u003e\n\n\u003ch3 align=\"center\"\u003e\n  \u003cem\u003eReady to use implementations of state-of-the-art generative models in TensorFlow 2\u003c/em\u003e\n\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/tf-gen-models/\"\u003e\u003cimg alt=\"PyPI - Python versions\" src=\"https://img.shields.io/pypi/pyversions/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/tf-gen-models/\"\u003e\u003cimg alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/tf-gen-models/\"\u003e\u003cimg alt=\"PyPI - Status\" src=\"https://img.shields.io/pypi/status/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://pypi.python.org/pypi/tf-gen-models/\"\u003e\u003cimg alt=\"PyPI - Downloads\" src=\"https://img.shields.io/pypi/dm/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003c!--\n  \u003ca href=\"https://github.com/mbarbetti/tf-gen-models/issues\"\u003e\u003cimg alt=\"GitHub - Issues\" src=\"https://img.shields.io/github/issues/mbarbetti/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mbarbetti/tf-gen-models/pulls\"\u003e\u003cimg alt=\"GitHub - Pull-requests\" src=\"https://img.shields.io/github/issues-pr/mbarbetti/tf-gen-models\"\u003e\u003c/a\u003e\n  --\u003e\n  \u003ca href=\"https://github.com/mbarbetti/tf-gen-models/network/members\"\u003e\u003cimg alt=\"GitHub - Forks\" src=\"https://badgen.net/github/forks/mbarbetti/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/mbarbetti/tf-gen-models/stargazers/\"\u003e\u003cimg alt=\"GitHub - Stars\" src=\"https://img.shields.io/github/stars/mbarbetti/tf-gen-models\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://zenodo.org/badge/latestdoi/451160183\"\u003e\u003cimg alt=\"DOI\" src=\"https://zenodo.org/badge/451160183.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Installation\n\n### Dependencies\n\ntf-gen-models requires:\n\n* Python (\u003e= 3.7, \u003c 3.10)\n* TensorFlow (\u003e= 2.5)\n* Matplotlib (\u003e= 3.4)\n* Pillow (\u003e= 8.0)\n\n- - -\n\nThe `tf-gen-models` package is built upon TensorFlow 2. See the [TensorFlow install guide](https://www.tensorflow.org/install) for the [pip package](https://www.tensorflow.org/install/pip) while, to enable GPU support, the use [Docker container](https://www.tensorflow.org/install/docker) is recommended. Alternatively, GPU-enabled TensorFlow can be easily installed using the `tensorflow-gpu` package on [conda-forge](https://conda-forge.org/blog/posts/2021-11-03-tensorflow-gpu/).\n\n### User installation\n\nIf you already have a working installation of TensorFlow 2 (preferably with the GPU support enabled), the easiest way to install tf-gen-models is using `pip`:\n\n```shell\npip install tf-gen-models\n```\n\n## Available generative models\n\n|                 Generative models                 | Implementation | Notebooks | Trends |\n|                :-----------------:                |:--------------:|:---------:|:------:|\n| \u003ca href=\"#Generative Aversarial Networks\"\u003eGAN\u003c/a\u003e |       ✔️      |     🛠️    |        |\n| \u003ca href=\"#Variational Autoencoders\"\u003eVAE\u003c/a\u003e       |       ❌      |     ❌    |        |\n| \u003ca href=\"#Normalizing Flows\"\u003eNorm Flow\u003c/a\u003e        |       ❌      |     ❌    |        |\n| \u003ca href=\"#Diffusion Models\"\u003eDiffusion\u003c/a\u003e         |       ❌      |     ❌    |        |\n\n### Generative Adversarial Networks\n\n| Algorithms | Implementation | Conditioning*| Notebooks |                              Paper                              |\n|:----------:|:--------------:|:------------:|:---------:|:---------------------------------------------------------------:|\n|    `GAN`   |      ✔️       |      🛠️      |    ✔️    |  \u003ca href=\"https://arxiv.org/abs/1406.2661\"\u003earXiv:1406.2661\u003c/a\u003e  |\n|  `BceGAN`  |      ✔️       |      ❌      |    ✔️    |                                                                 |\n|   `WGAN`   |      ✔️       |      ❌      |    ✔️    | \u003ca href=\"https://arxiv.org/abs/1701.07875\"\u003earXiv:1701.07875\u003c/a\u003e |\n|  `WGAN_GP` |      ✔️       |      ❌      |    ✔️    | \u003ca href=\"https://arxiv.org/abs/1704.00028\"\u003earXiv:1704.00028\u003c/a\u003e |\n| `CramerGAN`|      ✔️       |      ❌      |    ✔️    | \u003ca href=\"https://arxiv.org/abs/1705.10743\"\u003earXiv:1705.10743\u003c/a\u003e |\n| `WGAN_ALP` |      ✔️       |      ❌      |    🛠️    | \u003ca href=\"https://arxiv.org/abs/1907.05681\"\u003earXiv:1907.05681\u003c/a\u003e |\n\n*Referring to the **conditional version** of GANs proposed in [arXiv:1411.1784](https://arxiv.org/abs/1411.1784).\n\n### Variational Autoencoders\n\n_Planned for release v0.1.0_\n\n### Normalizing Flows\n\n_Planned for release v0.2.0_\n\n### Diffusion Models\n\n_Planned for release v0.2.0_\n\n## Jupyter notebooks\n\n* MNIST generation with GANs [[GAN](https://github.com/mbarbetti/tf-gen-models/blob/main/notebooks/gan/0_MNIST_gen_DC-GAN.ipynb)] [[BceGAN](https://github.com/mbarbetti/tf-gen-models/blob/main/notebooks/gan/0_MNIST_gen_DC-BceGAN.ipynb)] [[WGAN](https://github.com/mbarbetti/tf-gen-models/blob/main/notebooks/gan/0_MNIST_gen_DC-WGAN.ipynb)] [[WGAN-GP](https://github.com/mbarbetti/tf-gen-models/blob/main/notebooks/gan/0_MNIST_gen_DC-WGAN-GP.ipynb)] [[CramerGAN](https://github.com/mbarbetti/tf-gen-models/blob/main/notebooks/gan/0_MNIST_gen_DC-CramerGAN.ipynb)]\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarbetti%2Ftf-gen-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbarbetti%2Ftf-gen-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbarbetti%2Ftf-gen-models/lists"}