{"id":18764451,"url":"https://github.com/tripplyons/clip-upscaler-and-enhancer","last_synced_at":"2025-07-11T12:07:19.492Z","repository":{"id":81907849,"uuid":"439426213","full_name":"tripplyons/clip-upscaler-and-enhancer","owner":"tripplyons","description":"Using OpenAI's CLIP to upscale and enhance images","archived":false,"fork":false,"pushed_at":"2021-12-17T19:19:30.000Z","size":3378,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T04:51:39.294Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/tripplyons.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":"2021-12-17T18:28:22.000Z","updated_at":"2024-04-09T04:53:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"d9db882a-b9b7-4f36-86a1-ae459bfa04bb","html_url":"https://github.com/tripplyons/clip-upscaler-and-enhancer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tripplyons/clip-upscaler-and-enhancer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fclip-upscaler-and-enhancer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fclip-upscaler-and-enhancer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fclip-upscaler-and-enhancer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fclip-upscaler-and-enhancer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tripplyons","download_url":"https://codeload.github.com/tripplyons/clip-upscaler-and-enhancer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tripplyons%2Fclip-upscaler-and-enhancer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264803701,"owners_count":23666512,"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-11-07T18:29:53.029Z","updated_at":"2025-07-11T12:07:19.487Z","avatar_url":"https://github.com/tripplyons.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLIP Upscaler and Enhancer\nUsing OpenAI's CLIP to upscale and enhance images\n\n[![GitHub Repo stars](https://img.shields.io/github/stars/tripplyons/clip-upscaler-and-enhancer?style=social)](https://github.com/tripplyons/clip-upscaler-and-enhancer)\n\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/tripplyons/clip-upscaler-and-enhancer/blob/main/clip-upscaler-and-enhancer.ipynb)\n\nBased on [nshepperd's JAX CLIP Guided Diffusion v2.4](https://colab.research.google.com/drive/10YWuTxtBI7PS0xBJCLAUjhR5cB0UUXe-)\n\n## Sample Results\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003e\nViewport\n\u003c/th\u003e\n\u003cth\u003e\nOriginal Image (512x512)\n\u003c/th\u003e\n\u003cth\u003e\nUsing This Repo (scaled to 1024x1024 in 45 minutes)\n\u003c/th\u003e\n\u003cth\u003e\nUsing Waifu2x (scaled to 1024x1024 in a few seconds)\n\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\nFull Image\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/original.png\"\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/this-repo.png\"\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/waifu2x.png\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\nZoomed In\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/original-details.png\"\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/this-repo-details.png\"\u003e\n\u003c/td\u003e\n\u003ctd\u003e\n\u003cimg width=\"512\" src=\"img/waifu2x-details.png\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## How it works\n\n1. Start with any image.\n2. Find CLIP's embeddings of the image.\n3. Resize the image to the desired resolution and add some noise.\n4. **Optimize the resized image for the original image's embeddings** (using nshepperd's JAX CLIP Guided Diffusion v2.4).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripplyons%2Fclip-upscaler-and-enhancer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftripplyons%2Fclip-upscaler-and-enhancer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftripplyons%2Fclip-upscaler-and-enhancer/lists"}