├── .devcontainer ├── devcontainer.json └── icon.svg ├── .gitignore ├── LICENSE ├── README.md ├── data └── atlantis.csv ├── notebooks └── ai-generator.ipynb └── requirements.txt /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "image": "mcr.microsoft.com/devcontainers/universal:2", 3 | "hostRequirements": { 4 | "cpus": 6, 5 | "memory": "112gb", 6 | "storage": "128gb" 7 | }, 8 | "waitFor": "onCreateCommand", 9 | "updateContentCommand": "python3 -m pip install -r requirements.txt", 10 | "postCreateCommand": "", 11 | "customizations": { 12 | "codespaces": { 13 | "openFiles": [] 14 | }, 15 | "vscode": { 16 | "extensions": [ 17 | "ms-toolsai.jupyter", 18 | "ms-python.python" 19 | ] 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /.devcontainer/icon.svg: -------------------------------------------------------------------------------- 1 | 2 | Group.svg 3 | Created using Figma 0.90 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | notebooks/data 2 | notebooks/cifar_net.pth 3 | .ipynb_checkpoints/ 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 GitHub 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Open in Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new/?repo=539265470&machine=standardLinuxNcv3&ref=main&devcontainer_path=.devcontainer%2Fdevcontainer.json) 2 | 3 | ### 📔 Jupyter notebooks 4 | A development environment where you can run live code, equations, visualizations, and add narrative text to make them easily shareable. 5 | 6 | ### 🎞 Stable Diffusion 7 | 8 | Create art with machine learning and GitHub Codespaces. 9 | 10 | Software that uses artificial intelligence (AI) and machine learning (ML) to generate novel images by using text prompts. 11 | 12 | ## Getting Started 13 | 14 | 1. [Set a `HUGGING_FACE_TOKEN` secret](https://docs.github.com/en/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces) 15 | -------------------------------------------------------------------------------- /data/atlantis.csv: -------------------------------------------------------------------------------- 1 | year,population 2 | 2000,12400 3 | 2001,12800 4 | 2002,13800 5 | 2003,13600 6 | 2004,14200 7 | 2005,15600 8 | 2006,17600 9 | 2007,19200 10 | 2008,20300 11 | 2009,20800 12 | 2010,21200 13 | 2011,22400 14 | 2012,23400 15 | 2013,24500 16 | 2014,25800 17 | 2015,26100 18 | 2016,28300 19 | 2017,29600 20 | 2018,32100 21 | 2019,32500 22 | 2020,33200 23 | 2021,33800 24 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | ipywidgets==7.7.1 2 | matplotlib 3 | numpy 4 | pandas 5 | torch 6 | torchvision==0.13.1 7 | tqdm==4.64.0 8 | --------------------------------------------------------------------------------