{"id":13711258,"url":"https://github.com/kvfrans/deepcolor","last_synced_at":"2025-04-05T23:12:04.450Z","repository":{"id":42056303,"uuid":"80798764","full_name":"kvfrans/deepcolor","owner":"kvfrans","description":"Automatic coloring and shading of manga-style lineart, using Tensorflow + cGANs","archived":false,"fork":false,"pushed_at":"2018-05-25T03:52:14.000Z","size":68670,"stargazers_count":557,"open_issues_count":11,"forks_count":86,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-03-29T22:10:04.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://color.kvfrans.com","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/kvfrans.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}},"created_at":"2017-02-03T05:03:42.000Z","updated_at":"2025-03-27T22:26:48.000Z","dependencies_parsed_at":"2022-08-12T03:31:41.442Z","dependency_job_id":null,"html_url":"https://github.com/kvfrans/deepcolor","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/kvfrans%2Fdeepcolor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvfrans%2Fdeepcolor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvfrans%2Fdeepcolor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvfrans%2Fdeepcolor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvfrans","download_url":"https://codeload.github.com/kvfrans/deepcolor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247411239,"owners_count":20934653,"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":[],"created_at":"2024-08-02T23:01:06.294Z","updated_at":"2025-04-05T23:12:04.430Z","avatar_url":"https://github.com/kvfrans.png","language":"Python","funding_links":[],"categories":["Computer Vision","Python"],"sub_categories":["Image / Video Generation"],"readme":"# deepcolor\n\nAutomatic coloring and shading of manga-style lineart, using Tensorflow + cGANs\n\n![](http://kvfrans.com/content/images/2017/03/Screen-Shot-2017-03-01-at-11-09-09-PM-1.png)\n\n![](http://kvfrans.com/content/images/2017/03/Screen-Shot-2017-03-01-at-11-09-13-PM.png)\n\nRead the writeup:\nhttp://kvfrans.com/coloring-and-shading-line-art-automatically-through-conditional-gans/\n\nTry the demo:\nhttp://color.kvfrans.com\n\n## Setup\n\n### Prereqs\n    - Python 2.7, numpy\n    - Tensorflow 0.12\n    - OpenCV\n\n### Running it\n1. make a folder called \"results\"\n2. make a folder called \"imgs\"\n3. Fill the \"imgs\" folder with your own .jpg images, or run \"download_images.py\" to download from Safebooru.\n4. Run \"python main.py train\". I trained for ~20 epochs, taking about 16 hours on one GPU.\n5. To sample, run \"python main.py sample\"\n6. To start the server, run \"python server.py\". It will host on port 8000.\n\n### Pre-trained\n\nGet the pretrained model:\nhttps://drive.google.com/file/d/0BydPPLNieijIdDlUYWxhelEwRnM/view?usp=sharing\n\nFolder structure should go:\n```\nmain.py\nserver.py\ncheckpoint/\n    tr/\n        checkpoint\n        model-1101500.index\n        model-1101500.data-00000-of-00001\n        model-1101500.meta\n```\n\n\nCode based off [this pix2pix implementation](https://github.com/yenchenlin/pix2pix-tensorflow).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvfrans%2Fdeepcolor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvfrans%2Fdeepcolor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvfrans%2Fdeepcolor/lists"}