{"id":21744074,"url":"https://github.com/g4vrel/ddpm","last_synced_at":"2026-05-16T21:33:46.720Z","repository":{"id":264253233,"uuid":"841944712","full_name":"g4vrel/DDPM","owner":"g4vrel","description":"A PyTorch implementation of DDPM","archived":false,"fork":false,"pushed_at":"2024-11-22T22:04:38.000Z","size":334,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T22:21:42.766Z","etag":null,"topics":["classifier-free-guidance","ddpm","diffusion","implementation-of-research-paper","paper-implementation","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","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/g4vrel.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-08-13T11:07:12.000Z","updated_at":"2024-11-22T22:04:42.000Z","dependencies_parsed_at":"2024-11-22T23:28:23.423Z","dependency_job_id":null,"html_url":"https://github.com/g4vrel/DDPM","commit_stats":null,"previous_names":["g4vrel/ddpm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4vrel%2FDDPM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4vrel%2FDDPM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4vrel%2FDDPM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g4vrel%2FDDPM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g4vrel","download_url":"https://codeload.github.com/g4vrel/DDPM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244722652,"owners_count":20499151,"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":["classifier-free-guidance","ddpm","diffusion","implementation-of-research-paper","paper-implementation","pytorch"],"created_at":"2024-11-26T07:09:55.755Z","updated_at":"2026-05-16T21:33:41.697Z","avatar_url":"https://github.com/g4vrel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DDPM\n\nA PyTorch implementation of [Denoising Diffusion Probabilistic Models](https://arxiv.org/abs/2006.11239).\n\nHere are some images generated by the model trained on CIFAR-10, using [classifier-free guidance](https://arxiv.org/abs/2207.12598) and [cosine scheduling](https://arxiv.org/abs/2102.09672):\n\n![image](assets/example.png)\n\nMy objective was only to generate images. If you're looking for a more comprehensive implementation, I suggest taking a look at [this codebase](https://github.com/openai/improved-diffusion). \n\nThe reference that helped me the most by far was [What are diffusion models?](https://lilianweng.github.io/posts/2021-07-11-diffusion-models/), by Lilian Weng.\n\n#### Dependencies:\n\n- numpy\n- pytorch\n- pytorch lightning\n- wandb\n- [einops](https://einops.rocks/)\n- pyyaml\n\n## References\n\n\n```bibtex\n@article{ho2020denoising,\n  title   = {Denoising Diffusion Probabilistic Models},\n  author  = {Jonathan Ho and Ajay Jain and Pieter Abbeel},\n  year    = {2020},\n  journal = {arXiv preprint arxiv:2006.11239}\n}\n```\n\n```bibtex\n@article{weng2021diffusion,\n  title   = \"What are diffusion models?\",\n  author  = \"Weng, Lilian\",\n  journal = \"lilianweng.github.io\",\n  year    = \"2021\",\n  month   = \"Jul\",\n  url     = \"https://lilianweng.github.io/posts/2021-07-11-diffusion-models/\"\n}\n```\n```bibtex\n@misc{ho2022classifierfreediffusionguidance,\n  title         = {Classifier-Free Diffusion Guidance}, \n  author        = {Jonathan Ho and Tim Salimans},\n  year          = {2022},\n  eprint        = {2207.12598},\n  archivePrefix = {arXiv},\n  primaryClass  = {cs.LG},\n  url           = {https://arxiv.org/abs/2207.12598}, \n}\n```\n```bibtex\n@misc{nichol2021improveddenoisingdiffusionprobabilistic,\n  title         = {Improved Denoising Diffusion Probabilistic Models}, \n  author        = {Alex Nichol and Prafulla Dhariwal},\n  year          = {2021},\n  eprint        = {2102.09672},\n  archivePrefix = {arXiv},\n  primaryClass  = {cs.LG},\n  url           = {https://arxiv.org/abs/2102.09672}, \n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4vrel%2Fddpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg4vrel%2Fddpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg4vrel%2Fddpm/lists"}