{"id":13719435,"url":"https://github.com/kainoj/colnet","last_synced_at":"2025-05-07T11:31:37.843Z","repository":{"id":40984345,"uuid":"155073134","full_name":"kainoj/colnet","owner":"kainoj","description":"🖌️ Automatic Image Colorization with Simultaneous Classification – based on \"Let there be Color!\"","archived":false,"fork":false,"pushed_at":"2024-07-25T10:13:30.000Z","size":3965,"stargazers_count":41,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T08:36:24.325Z","etag":null,"topics":["automatic-colorization","cnn","colorization","convolutional-neural-networks","image-colorization","machine-learning","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kainoj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-10-28T13:18:07.000Z","updated_at":"2024-06-08T18:44:43.000Z","dependencies_parsed_at":"2024-11-14T08:43:11.615Z","dependency_job_id":null,"html_url":"https://github.com/kainoj/colnet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainoj%2Fcolnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainoj%2Fcolnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainoj%2Fcolnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kainoj%2Fcolnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kainoj","download_url":"https://codeload.github.com/kainoj/colnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252868878,"owners_count":21816928,"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":["automatic-colorization","cnn","colorization","convolutional-neural-networks","image-colorization","machine-learning","pytorch"],"created_at":"2024-08-03T01:00:48.674Z","updated_at":"2025-05-07T11:31:37.821Z","avatar_url":"https://github.com/kainoj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖌️ Automatic Image Colorization\nImplementation of [_Let there be Color!_](http://iizuka.cs.tsukuba.ac.jp/projects/colorization/en/)\nby Satoshi Iizuka, Edgar Simo-Serra and Hiroshi Ishikawa.\n\n_Colorized 100 years old photo of Książ Castle:_\n\n![Colorized Książ Castle, Poland](colorized/ksiaz-castle.png \"Colorized Książ Castle, Poland\")\n\n[More images](colorized/colorized.md)\n\n_Other colorized images:_\n\n![Colorized images](colorized/results.png \"Sample of colorized images\")\n\n### First run\n[Places365-Standard](http://places2.csail.mit.edu/download.html) \ndataset will be downloaded and split into _train/dev/test_ subsets.\nBy default only 10 arbitrary categories will be considered.\n\n```bash\n$ git clone https://github.com/kainoj/colnet.git\n$ cd colnet\n$ make dataset\n$ make split\n```\n\n### Requirements\nCode is written in Python 3.6.3. [Here](requirements.txt) are all requirements, hit the following to install:\n```bash\npip3 install -r requirements.txt\n```\n\n\n### Network training\nSimply run:\n```bash\n$ python3 loader.py config/places10.yaml\n```\n[`places10.yaml`](./config/places10.yaml) is a sample configuration file – i.e. specifies \ntotal number of epoch, learning rate, output directories etc.\nTo see full .yaml configuration, `run python3 loader.py config/places10.yaml`\n\n\nCheckpoints of models are saved on every epoch.\nTraining can be interrupted and resumed anytime.\nResume by executing:\n```bash\n$ python3 loader.py config/places10.yaml --model model.pt\n```\nwhere `model.pt` is a previously saved model checkpoint.\n\n### Colorize!\nChoose the most favourite model and hit:\n```bash\n$ python3 colorize.py img.jpg ./models/places.pt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkainoj%2Fcolnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkainoj%2Fcolnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkainoj%2Fcolnet/lists"}