https://github.com/bes-dev/stable_diffusion.openvino Skip to content Sign up * Product + Features + Mobile + Actions + Codespaces + Copilot + Packages + Security + Code review + Issues + Discussions + Integrations + GitHub Sponsors + Customer stories * Team * Enterprise * Explore + Explore GitHub + Learn and contribute + Topics + Collections + Trending + Skills + GitHub Sponsors + Open source guides + Connect with others + The ReadME Project + Events + Community forum + GitHub Education + GitHub Stars program * Marketplace * Pricing + Plans + Compare plans + Contact Sales + Education [ ] * # In this repository All GitHub | Jump to | * No suggested jump to results * # In this repository All GitHub | Jump to | * # In this user All GitHub | Jump to | * # In this repository All GitHub | Jump to | Sign in Sign up {{ message }} bes-dev / stable_diffusion.openvino Public * Notifications * Fork 20 * Star 136 License Apache-2.0 license 136 stars 20 forks Star Notifications * Code * Issues 5 * Pull requests 0 * Actions * Projects 0 * Security * Insights More * Code * Issues * Pull requests * Actions * Projects * Security * Insights bes-dev/stable_diffusion.openvino This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. master Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags 1 branch 0 tags Code * Clone HTTPS GitHub CLI [https://github.com/b] Use Git or checkout with SVN using the web URL. [gh repo clone bes-de] Work fast with our official CLI. Learn more. * Open with GitHub Desktop * Download ZIP Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @amrrs amrrs fixed diffusers typo (#2) ... b8bee11 Aug 29, 2022 fixed diffusers typo (#2) b8bee11 Git stats * 6 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time data fix download links Aug 24, 2022 .gitignore Initial commit Aug 23, 2022 LICENSE Initial commit Aug 23, 2022 LICENSE_MODEL initial commit Aug 23, 2022 README.md fixed diffusers typo (#2) Aug 29, 2022 requirements.txt update requirements Aug 26, 2022 stable_diffusion.py migrate from gdrive to huggingface_hub to store checkpoints Aug 25, 2022 View code stable_diffusion.openvino Requirements Install requirements Generate image from text description Example Acknowledgements Disclaimer README.md stable_diffusion.openvino Implementation of Text-To-Image generation using Stable Diffusion on Intel CPU. [title] Requirements * Linux, Windows, MacOS * Python 3.8.+ * CPU compatible with OpenVINO. Install requirements pip install -r requirements.txt Generate image from text description usage: stable_diffusion.py [-h] [--models-cfg MODELS_CFG] [--beta-start BETA_START] [--beta-end BETA_END] [--beta-schedule BETA_SCHEDULE] [--num-inference-steps NUM_INFERENCE_STEPS] [--guidance-scale GUIDANCE_SCALE] [--eta ETA] [--tokenizer TOKENIZER] [--prompt PROMPT] [--output OUTPUT] optional arguments: -h, --help show this help message and exit --models-cfg MODELS_CFG path to models config --beta-start BETA_START LMSDiscreteScheduler::beta_start --beta-end BETA_END LMSDiscreteScheduler::beta_end --beta-schedule BETA_SCHEDULE LMSDiscreteScheduler::beta_schedule --num-inference-steps NUM_INFERENCE_STEPS num inference steps --guidance-scale GUIDANCE_SCALE guidance scale --eta ETA eta --tokenizer TOKENIZER tokenizer --prompt PROMPT prompt --output OUTPUT output image name Example python stable_diffusion.py --prompt "Street-art painting of Emilia Clarke in style of Banksy, photorealism" Acknowledgements * Original implementation of Stable Diffusion: https://github.com/ CompVis/stable-diffusion * diffusers library: https://github.com/huggingface/diffusers Disclaimer The authors are not responsible for the content generated using this project. Please, don't use this project to produce illegal, harmful, offensive etc. content. About No description, website, or topics provided. Resources Readme License Apache-2.0 license Stars 136 stars Watchers 6 watching Forks 20 forks Releases No releases published Packages 0 No packages published Contributors 2 * @bes-dev bes-dev Sergei Belousov * @amrrs amrrs amrrs Languages * Python 100.0% Footer (c) 2022 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.