{"id":22202423,"url":"https://github.com/davidramosarchilla/colorizing-images","last_synced_at":"2026-05-19T10:33:31.281Z","repository":{"id":265901727,"uuid":"896820439","full_name":"DavidRamosArchilla/Colorizing-images","owner":"DavidRamosArchilla","description":"An implementation of the Pix2Pix paper for image colorization using PyTorch.","archived":false,"fork":false,"pushed_at":"2024-12-01T12:46:52.000Z","size":3299,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T07:44:59.834Z","etag":null,"topics":["colorization","computer-vision","gan","google-colab","ia","pytorch"],"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/DavidRamosArchilla.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-01T11:52:29.000Z","updated_at":"2025-03-24T14:51:23.000Z","dependencies_parsed_at":"2024-12-01T13:18:58.948Z","dependency_job_id":"3992be49-9e08-402d-aeb5-e7203bda8e77","html_url":"https://github.com/DavidRamosArchilla/Colorizing-images","commit_stats":null,"previous_names":["davidramosarchilla/colorizing-images"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DavidRamosArchilla/Colorizing-images","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidRamosArchilla%2FColorizing-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidRamosArchilla%2FColorizing-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidRamosArchilla%2FColorizing-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidRamosArchilla%2FColorizing-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidRamosArchilla","download_url":"https://codeload.github.com/DavidRamosArchilla/Colorizing-images/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidRamosArchilla%2FColorizing-images/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267490689,"owners_count":24096028,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["colorization","computer-vision","gan","google-colab","ia","pytorch"],"created_at":"2024-12-02T16:16:27.908Z","updated_at":"2026-05-19T10:33:31.240Z","avatar_url":"https://github.com/DavidRamosArchilla.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Image Colorization with Pix2Pix\n\nAn implementation of the [Pix2Pix](https://arxiv.org/abs/1611.07004) paper for image colorization using PyTorch.  \nTry a trained on Google Colab:  \n\n\u003ca href=\"https://colab.research.google.com/github/DavidRamosArchilla/Colorizing-images/blob/main/image_colorization_demo.ipynb\" target=\"_parent\"\u003e\u003cimg src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/\u003e\u003c/a\u003e\n\n\n## Overview\n\nThis project applies conditional adversarial networks to colorize grayscale images. The model learns to translate grayscale images into colorful ones by training on paired datasets.\n\n## Features\n\n- Implemented in PyTorch\n- Supports custom datasets\n- Includes a training script and a jupyter notebook on google colab to test a trained model hosted on huggingface model hub.\n- Data augmentation and preprocessing\n- Logging to tensorboard\n\n## Training details\nIt has been trained with 12000 images from [COCO 2017 dataset](https://cocodataset.org/) during 150 epochs with batch size 16 and learning rate 2e-4 for both generator and discriminator. Data augmentation is done by randomly flipping horizontally the images. \n\n## Installation\n\n```bash\ngit clone https://github.com/yourusername/colorizing_images.git\ncd colorizing_images\npip install -r requirements.txt\n```\n\n## Usage\n\n### Training\n\n```bash\npython train.py\n```\n\n## Results\n\nHere are some examples of colorized images, the upper row are the generations of the model:\n\n![Example 1](example_results/example1.png)\n![Example 2](example_results/example2.png)\n\n## Acknowledgments\n\n- The original [Pix2Pix paper](https://arxiv.org/abs/1611.07004)\n- [PyTorch](https://pytorch.org/) framework\n- [HuggingFace🤗](https://huggingface.co/) Model Hub\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidramosarchilla%2Fcolorizing-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidramosarchilla%2Fcolorizing-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidramosarchilla%2Fcolorizing-images/lists"}