Saltar al contenido
ModelPublicadoExterno
Descargar

Gray To Color Image Translation

This project implements a Pix2Pix Generative Adversarial Network (GAN) model to convert black and white images to color images. The Pix2Pix GAN is a deep learning architecture used for various image-to-image...

TipoOtherVersiónG model 4Bcalidad

Fuente del modelo

Tipo
Other
Tamaño del archivo
208 MB
Versión
vG model 4
Actualizado
8 oct 2026
Fuente
Hugging Face

Descripción de la fuente

Gray-to-Color-Image-Translation

This project implements a Pix2Pix Generative Adversarial Network (GAN) model to convert black and white images to color images. The Pix2Pix GAN is a deep learning architecture used for various image-to-image translation tasks.

Screenshot 2023-09-10 152614 Screenshot 2023-09-10 152506 Screenshot 2023-09-10 152906

Requirements

To run this app, you need to have the following Python libraries installed:

  • Streamlit (pip install streamlit)
  • TensorFlow (pip install tensorflow)
  • NumPy (pip install numpy)
  • Matplotlib (pip install matplotlib)

Usage

  1. Clone the repository or download the app files.

  2. Make sure you have installed the required dependencies mentioned above.

  3. Open a terminal or command prompt and navigate to the directory containing app.py.

  4. Run the following command to start the Streamlit app:

streamlit run app.py
  1. Once the app is running, open your web browser and go to http://localhost:{PORT}.

  2. Upload the image which you want to colourize and click on convert

NOTE

  • As this model trains on CelabA dataset that's why it is only able to colorize the faces of humans

Acknowledgments

  • The CelebA dataset for providing the celebrity face images for training the Pix to pix model.
  • TensorFlow and Keras for their excellent machine learning frameworks.
  • Streamlit for making it easy to build interactive web applications with Python.

Contact

If you have any questions or suggestions, feel free to contact us at [email protected].

Enjoy generating celebrity faces with GAN on Streamlit!

Fuentes

1 fuente
Hugging FacePrincipalVersión 7c91a5c3b4f1c9a2e0fb63b2bb05e63309c615c4
huggingface.co/rahulkumawat/Gray-to-Color-Image-Translation/tree/7c91a5c3b4f1c9a2e0fb63b2bb05e63309c615c4

Verificado 8 oct

Artefactos del modelo

1 artefacto

g__model_4.h5

h5 · 208 MB · SHA-256 669f3d48baa8…4fc9 · Hugging Face

Download file

Extractos de fuentes

2 extractos

# Gray-to-Color-Image-Translation This project implements a Pix2Pix Generative Adversarial Network (GAN) model to convert black and white images to color images. The Pix2Pix GAN is a deep learning architecture used for various image-to-image translation tasks. ![Screenshot 2023-09-10 152614](https://github.com/rk-universe/Gray-to-Color-Image-/assets/106592573/0ded2ead-3ea9-428c-9bcf-cf7d231b4db9) ![Screenshot 2023-09-10 152506](https://github.com/rk-universe/Gray-to-Color-Image-/assets/106592573/3ea9c687-5398-4131-9248-8f7562296110) ![Screenshot 2023-09-10 152906](https://github.com/rk-universe/Gray-to-Color-Image-/assets/106592573/27680306-65b3-42d7-9f3e-8949730445cc) ## Requirements To run this app, you need to have the following Python libraries installed: - Streamlit (`pip install streamlit`) - TensorFlow (`pip install tensorflow`) - NumPy (`pip install numpy`) - Matplotlib (`pip install matplotlib`) ## Usage 1. Clone the repository or download the app files. 2. Make sure you have installed the required dependencies mentioned above. 3. Open a terminal or command prompt and navigate to the directory containing `app.py`. 4. Run the following command to start the Streamlit app: ``` streamlit run app.py ``` 5. Once the app is running, open your web browser and go to `http://localhost:{PORT}`. 6. Upload the image which you want to colourize and click on convert ## NOTE - As this model trains on CelabA dataset that's why it is only able to colorize the faces of humans ## Acknowledgments - The CelebA dataset for providing the celebrity face images for training the Pix to pix model. - TensorFlow and Keras for their excellent machine learning frameworks. - Streamlit for making it easy to build interactive web applications with Python. ## Contact If you have any questions or suggestions, feel free to contact us at [email protected]. Enjoy generating celebrity faces with GAN on Streamlit!

Source context: 0 downloads · 0 likes · Repo rahulkumawat/Gray-to-Color-Image-Translation