File size: 142,550 Bytes
cd7fb90
1
{"cells":[{"cell_type":"markdown","metadata":{"id":"n82R1JsXwF7t"},"source":["# Training DreamBooth LoRA with Stable Diffusion XL on Trump Thumbs Up Images:"]},{"cell_type":"markdown","metadata":{"id":"BFPA3b2WrXS2"},"source":["## Linking Drive\n","\n"]},{"cell_type":"code","execution_count":2,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"gZ9p20AWVbvT","outputId":"c6284da6-138f-465e-d883-a51c98200032","executionInfo":{"status":"ok","timestamp":1716769697087,"user_tz":240,"elapsed":14858,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["Mounted at /content/drive\n"]}],"source":["from google.colab import drive\n","drive.mount('/content/drive')"]},{"cell_type":"code","execution_count":2,"metadata":{"id":"bVmEPjuhbhuw","executionInfo":{"status":"ok","timestamp":1716764451707,"user_tz":240,"elapsed":555,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[],"source":["import warnings\n","warnings.filterwarnings(\"ignore\")"]},{"cell_type":"markdown","metadata":{"id":"FAcyJStbty0F"},"source":["## Installing & Login to Hugging Face\n"]},{"cell_type":"code","execution_count":4,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"1AqGCSDGRECx","outputId":"a3679991-248a-4955-d83f-4af19829b39d","executionInfo":{"status":"ok","timestamp":1716769880206,"user_tz":240,"elapsed":7031,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["Requirement already satisfied: huggingface-hub in /usr/local/lib/python3.10/dist-packages (0.23.1)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (3.14.0)\n","Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (2023.6.0)\n","Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (24.0)\n","Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (6.0.1)\n","Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (2.31.0)\n","Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (4.66.4)\n","Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub) (4.11.0)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub) (2024.2.2)\n"]}],"source":["!pip install huggingface-hub"]},{"cell_type":"code","execution_count":5,"metadata":{"id":"uJlMOYYqQCDA","executionInfo":{"status":"ok","timestamp":1716769880348,"user_tz":240,"elapsed":148,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[],"source":["!git config --global credential.helper store\n"]},{"cell_type":"code","execution_count":6,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"kM_s_OdTRFdj","outputId":"e0bb8b91-717d-49bd-a82c-669263e36f6d","executionInfo":{"status":"ok","timestamp":1716769889736,"user_tz":240,"elapsed":9390,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["\n","    _|    _|  _|    _|    _|_|_|    _|_|_|  _|_|_|  _|      _|    _|_|_|      _|_|_|_|    _|_|      _|_|_|  _|_|_|_|\n","    _|    _|  _|    _|  _|        _|          _|    _|_|    _|  _|            _|        _|    _|  _|        _|\n","    _|_|_|_|  _|    _|  _|  _|_|  _|  _|_|    _|    _|  _|  _|  _|  _|_|      _|_|_|    _|_|_|_|  _|        _|_|_|\n","    _|    _|  _|    _|  _|    _|  _|    _|    _|    _|    _|_|  _|    _|      _|        _|    _|  _|        _|\n","    _|    _|    _|_|      _|_|_|    _|_|_|  _|_|_|  _|      _|    _|_|_|      _|        _|    _|    _|_|_|  _|_|_|_|\n","\n","    To login, `huggingface_hub` requires a token generated from https://huggingface.co/settings/tokens .\n","Enter your token (input will not be visible): \n","Add token as git credential? (Y/n) Y\n","Token is valid (permission: write).\n","Your token has been saved in your configured git credential helpers (store).\n","Your token has been saved to /root/.cache/huggingface/token\n","Login successful\n"]}],"source":["!huggingface-cli login"]},{"cell_type":"markdown","metadata":{"id":"o3z6sOezuvH9"},"source":["##Cloning Hugging Face/diffusers - [Repo](https://github.com/huggingface/diffusers)\n"]},{"cell_type":"code","execution_count":6,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"1sohzLd-FDeR","outputId":"1f3c4587-18f7-49dd-d92d-8e4c2b86472d","executionInfo":{"status":"ok","timestamp":1716764611199,"user_tz":240,"elapsed":20594,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"execute_result","data":{"text/plain":["CompletedProcess(args=['pip', 'install', '-e', '.'], returncode=0)"]},"metadata":{},"execution_count":6}],"source":["import os\n","import subprocess\n","\n","\n","subprocess.run([\"git\", \"clone\", \"https://github.com/huggingface/diffusers\"])\n","os.chdir(\"diffusers\")\n","subprocess.run([\"pip\", \"install\", \"-e\", \".\"])\n"]},{"cell_type":"markdown","metadata":{"id":"k3S-TkScvbcp"},"source":["## Installing Requirements - Dreambooth SDXL"]},{"cell_type":"code","execution_count":7,"metadata":{"id":"Pioqlrk6FM-J","executionInfo":{"status":"ok","timestamp":1716764676157,"user_tz":240,"elapsed":230,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[],"source":["os.chdir(\"examples/dreambooth\")"]},{"cell_type":"code","execution_count":8,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"QBXvJzHiFsIo","outputId":"2aea511b-4d8e-46bc-ae47-ae55bb57319d","executionInfo":{"status":"ok","timestamp":1716764747604,"user_tz":240,"elapsed":70238,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["Collecting accelerate>=0.16.0 (from -r requirements_sdxl.txt (line 1))\n","  Downloading accelerate-0.30.1-py3-none-any.whl (302 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m302.6/302.6 kB\u001b[0m \u001b[31m6.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: torchvision in /usr/local/lib/python3.10/dist-packages (from -r requirements_sdxl.txt (line 2)) (0.18.0+cu121)\n","Requirement already satisfied: transformers>=4.25.1 in /usr/local/lib/python3.10/dist-packages (from -r requirements_sdxl.txt (line 3)) (4.41.0)\n","Collecting ftfy (from -r requirements_sdxl.txt (line 4))\n","  Downloading ftfy-6.2.0-py3-none-any.whl (54 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.4/54.4 kB\u001b[0m \u001b[31m5.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: tensorboard in /usr/local/lib/python3.10/dist-packages (from -r requirements_sdxl.txt (line 5)) (2.15.2)\n","Requirement already satisfied: Jinja2 in /usr/local/lib/python3.10/dist-packages (from -r requirements_sdxl.txt (line 6)) (3.1.4)\n","Collecting peft==0.7.0 (from -r requirements_sdxl.txt (line 7))\n","  Downloading peft-0.7.0-py3-none-any.whl (168 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m168.3/168.3 kB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (1.25.2)\n","Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (24.0)\n","Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (5.9.5)\n","Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (6.0.1)\n","Requirement already satisfied: torch>=1.13.0 in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (2.3.0+cu121)\n","Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (4.66.4)\n","Requirement already satisfied: safetensors in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (0.4.3)\n","Requirement already satisfied: huggingface-hub>=0.17.0 in /usr/local/lib/python3.10/dist-packages (from peft==0.7.0->-r requirements_sdxl.txt (line 7)) (0.23.1)\n","Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/lib/python3.10/dist-packages (from torchvision->-r requirements_sdxl.txt (line 2)) (9.4.0)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (3.14.0)\n","Requirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (4.11.0)\n","Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (1.12)\n","Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (3.3)\n","Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (2023.6.0)\n","Collecting nvidia-cuda-nvrtc-cu12==12.1.105 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cuda_nvrtc_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (23.7 MB)\n","Collecting nvidia-cuda-runtime-cu12==12.1.105 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cuda_runtime_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (823 kB)\n","Collecting nvidia-cuda-cupti-cu12==12.1.105 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cuda_cupti_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (14.1 MB)\n","Collecting nvidia-cudnn-cu12==8.9.2.26 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)\n","Collecting nvidia-cublas-cu12==12.1.3.1 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cublas_cu12-12.1.3.1-py3-none-manylinux1_x86_64.whl (410.6 MB)\n","Collecting nvidia-cufft-cu12==11.0.2.54 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cufft_cu12-11.0.2.54-py3-none-manylinux1_x86_64.whl (121.6 MB)\n","Collecting nvidia-curand-cu12==10.3.2.106 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_curand_cu12-10.3.2.106-py3-none-manylinux1_x86_64.whl (56.5 MB)\n","Collecting nvidia-cusolver-cu12==11.4.5.107 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cusolver_cu12-11.4.5.107-py3-none-manylinux1_x86_64.whl (124.2 MB)\n","Collecting nvidia-cusparse-cu12==12.1.0.106 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_cusparse_cu12-12.1.0.106-py3-none-manylinux1_x86_64.whl (196.0 MB)\n","Collecting nvidia-nccl-cu12==2.20.5 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_nccl_cu12-2.20.5-py3-none-manylinux2014_x86_64.whl (176.2 MB)\n","Collecting nvidia-nvtx-cu12==12.1.105 (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Using cached nvidia_nvtx_cu12-12.1.105-py3-none-manylinux1_x86_64.whl (99 kB)\n","Requirement already satisfied: triton==2.3.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (2.3.0)\n","Collecting nvidia-nvjitlink-cu12 (from nvidia-cusolver-cu12==11.4.5.107->torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7))\n","  Downloading nvidia_nvjitlink_cu12-12.5.40-py3-none-manylinux2014_x86_64.whl (21.3 MB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m66.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (2023.12.25)\n","Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (2.31.0)\n","Requirement already satisfied: tokenizers<0.20,>=0.19 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (0.19.1)\n","Requirement already satisfied: wcwidth<0.3.0,>=0.2.12 in /usr/local/lib/python3.10/dist-packages (from ftfy->-r requirements_sdxl.txt (line 4)) (0.2.13)\n","Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (1.4.0)\n","Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (1.64.0)\n","Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (2.27.0)\n","Requirement already satisfied: google-auth-oauthlib<2,>=0.5 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (1.2.0)\n","Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (3.6)\n","Requirement already satisfied: protobuf!=4.24.0,>=3.19.6 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (3.20.3)\n","Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (67.7.2)\n","Requirement already satisfied: six>1.9 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (1.16.0)\n","Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (0.7.2)\n","Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard->-r requirements_sdxl.txt (line 5)) (3.0.3)\n","Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from Jinja2->-r requirements_sdxl.txt (line 6)) (2.1.5)\n","Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements_sdxl.txt (line 5)) (5.3.3)\n","Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements_sdxl.txt (line 5)) (0.4.0)\n","Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard->-r requirements_sdxl.txt (line 5)) (4.9)\n","Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<2,>=0.5->tensorboard->-r requirements_sdxl.txt (line 5)) (1.3.1)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.25.1->-r requirements_sdxl.txt (line 3)) (2024.2.2)\n","Requirement already satisfied: pyasn1<0.7.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard->-r requirements_sdxl.txt (line 5)) (0.6.0)\n","Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<2,>=0.5->tensorboard->-r requirements_sdxl.txt (line 5)) (3.2.2)\n","Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.13.0->peft==0.7.0->-r requirements_sdxl.txt (line 7)) (1.3.0)\n","Installing collected packages: nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufft-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, ftfy, nvidia-cusparse-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, accelerate, peft\n","Successfully installed accelerate-0.30.1 ftfy-6.2.0 nvidia-cublas-cu12-12.1.3.1 nvidia-cuda-cupti-cu12-12.1.105 nvidia-cuda-nvrtc-cu12-12.1.105 nvidia-cuda-runtime-cu12-12.1.105 nvidia-cudnn-cu12-8.9.2.26 nvidia-cufft-cu12-11.0.2.54 nvidia-curand-cu12-10.3.2.106 nvidia-cusolver-cu12-11.4.5.107 nvidia-cusparse-cu12-12.1.0.106 nvidia-nccl-cu12-2.20.5 nvidia-nvjitlink-cu12-12.5.40 nvidia-nvtx-cu12-12.1.105 peft-0.7.0\n"]}],"source":["!pip install -r requirements_sdxl.txt"]},{"cell_type":"markdown","metadata":{"id":"1onMzLpQxHxt"},"source":["## Write Basic Configuration for Accelerate"]},{"cell_type":"code","execution_count":9,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"uzDpW209Fu2S","outputId":"f8fc660d-04ad-4179-8508-ca6e76339b3a","executionInfo":{"status":"ok","timestamp":1716764761255,"user_tz":240,"elapsed":8621,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"execute_result","data":{"text/plain":["PosixPath('/root/.cache/huggingface/accelerate/default_config.yaml')"]},"metadata":{},"execution_count":9}],"source":["from accelerate.utils import write_basic_config\n","write_basic_config()"]},{"cell_type":"markdown","metadata":{"id":"Mvh8SOo_xLFM"},"source":["##  Load and Display Images from Drive"]},{"cell_type":"code","execution_count":10,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":1000,"output_embedded_package_id":"1JloMrDZVqxDngCM0kQGLysU0_5WBRa8V"},"id":"EVuVdfs6Lgjq","outputId":"174a125e-98ad-417d-a1bd-05d061dd1b01","executionInfo":{"status":"ok","timestamp":1716764772923,"user_tz":240,"elapsed":11678,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"display_data","data":{"text/plain":"Output hidden; open in https://colab.research.google.com to view."},"metadata":{}}],"source":["import os\n","import cv2\n","from matplotlib import pyplot as plt\n","\n","dir = '/content/drive/MyDrive/SDXL/Images/thumbsup'\n","count = 0\n","max_images = 10\n","\n","for img_name in os.listdir(dir):\n","    img_path = os.path.join(dir, img_name)\n","\n","    if img_path.lower().endswith(('.png', '.jpg', '.jpeg')):\n","        img = cv2.imread(img_path)\n","\n","        if img is None:\n","            print(f\"Failed to load image: {img_path}\")\n","            continue\n","\n","        img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)\n","\n","        plt.imshow(img)\n","        plt.axis('off')\n","        plt.show()\n","\n","        count += 1\n","        if count >= max_images:\n","            break\n"]},{"cell_type":"markdown","metadata":{"id":"I-FLb51byEdk"},"source":["## Installing Required Libraries"]},{"cell_type":"code","execution_count":11,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"MplrP2FbMNVV","outputId":"2ac63af6-5b0a-4f64-f866-160554dcaf16","executionInfo":{"status":"ok","timestamp":1716764899283,"user_tz":240,"elapsed":82853,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["Collecting tensorrt\n","  Downloading tensorrt-10.0.1.tar.gz (16 kB)\n","  Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n","Collecting bitsandbytes\n","  Downloading bitsandbytes-0.43.1-py3-none-manylinux_2_24_x86_64.whl (119.8 MB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m119.8/119.8 MB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting xformers\n","  Downloading xformers-0.0.26.post1-cp310-cp310-manylinux2014_x86_64.whl (222.7 MB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m222.7/222.7 MB\u001b[0m \u001b[31m5.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting wandb\n","  Downloading wandb-0.17.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.7/6.7 MB\u001b[0m \u001b[31m83.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting tensorrt-cu12 (from tensorrt)\n","  Downloading tensorrt-cu12-10.0.1.tar.gz (18 kB)\n","  Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n","Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from bitsandbytes) (2.3.0+cu121)\n","Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from bitsandbytes) (1.25.2)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (3.14.0)\n","Requirement already satisfied: typing-extensions>=4.8.0 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (4.11.0)\n","Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (1.12)\n","Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (3.3)\n","Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (3.1.4)\n","Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (2023.6.0)\n","Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.105)\n","Requirement already satisfied: nvidia-cuda-runtime-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.105)\n","Requirement already satisfied: nvidia-cuda-cupti-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.105)\n","Requirement already satisfied: nvidia-cudnn-cu12==8.9.2.26 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (8.9.2.26)\n","Requirement already satisfied: nvidia-cublas-cu12==12.1.3.1 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.3.1)\n","Requirement already satisfied: nvidia-cufft-cu12==11.0.2.54 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (11.0.2.54)\n","Requirement already satisfied: nvidia-curand-cu12==10.3.2.106 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (10.3.2.106)\n","Requirement already satisfied: nvidia-cusolver-cu12==11.4.5.107 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (11.4.5.107)\n","Requirement already satisfied: nvidia-cusparse-cu12==12.1.0.106 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.0.106)\n","Requirement already satisfied: nvidia-nccl-cu12==2.20.5 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (2.20.5)\n","Requirement already satisfied: nvidia-nvtx-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (12.1.105)\n","Requirement already satisfied: triton==2.3.0 in /usr/local/lib/python3.10/dist-packages (from torch->bitsandbytes) (2.3.0)\n","Requirement already satisfied: nvidia-nvjitlink-cu12 in /usr/local/lib/python3.10/dist-packages (from nvidia-cusolver-cu12==11.4.5.107->torch->bitsandbytes) (12.5.40)\n","Requirement already satisfied: click!=8.0.0,>=7.1 in /usr/local/lib/python3.10/dist-packages (from wandb) (8.1.7)\n","Collecting docker-pycreds>=0.4.0 (from wandb)\n","  Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)\n","Collecting gitpython!=3.1.29,>=1.0.0 (from wandb)\n","  Downloading GitPython-3.1.43-py3-none-any.whl (207 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m207.3/207.3 kB\u001b[0m \u001b[31m29.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: platformdirs in /usr/local/lib/python3.10/dist-packages (from wandb) (4.2.2)\n","Requirement already satisfied: protobuf!=4.21.0,<5,>=3.19.0 in /usr/local/lib/python3.10/dist-packages (from wandb) (3.20.3)\n","Requirement already satisfied: psutil>=5.0.0 in /usr/local/lib/python3.10/dist-packages (from wandb) (5.9.5)\n","Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from wandb) (6.0.1)\n","Requirement already satisfied: requests<3,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from wandb) (2.31.0)\n","Collecting sentry-sdk>=1.0.0 (from wandb)\n","  Downloading sentry_sdk-2.3.1-py2.py3-none-any.whl (289 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m289.0/289.0 kB\u001b[0m \u001b[31m36.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hCollecting setproctitle (from wandb)\n","  Downloading setproctitle-1.3.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30 kB)\n","Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from wandb) (67.7.2)\n","Requirement already satisfied: six>=1.4.0 in /usr/local/lib/python3.10/dist-packages (from docker-pycreds>=0.4.0->wandb) (1.16.0)\n","Collecting gitdb<5,>=4.0.1 (from gitpython!=3.1.29,>=1.0.0->wandb)\n","  Downloading gitdb-4.0.11-py3-none-any.whl (62 kB)\n","\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m62.7/62.7 kB\u001b[0m \u001b[31m9.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n","\u001b[?25hRequirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.0.0->wandb) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.0.0->wandb) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.0.0->wandb) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests<3,>=2.0.0->wandb) (2024.2.2)\n","Collecting smmap<6,>=3.0.1 (from gitdb<5,>=4.0.1->gitpython!=3.1.29,>=1.0.0->wandb)\n","  Downloading smmap-5.0.1-py3-none-any.whl (24 kB)\n","Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch->bitsandbytes) (2.1.5)\n","Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->bitsandbytes) (1.3.0)\n","Building wheels for collected packages: tensorrt, tensorrt-cu12\n","  Building wheel for tensorrt (setup.py) ... \u001b[?25l\u001b[?25hdone\n","  Created wheel for tensorrt: filename=tensorrt-10.0.1-py2.py3-none-any.whl size=16331 sha256=83db41a9a0ca6503af355a1e9cadf70d1f246bc26ae742725def05b2f74e9a8f\n","  Stored in directory: /root/.cache/pip/wheels/43/0e/35/f5de9a100ae769ece311b8f653e493f7e49bbcc25dcdc92e27\n","  Building wheel for tensorrt-cu12 (setup.py) ... \u001b[?25l\u001b[?25hdone\n","  Created wheel for tensorrt-cu12: filename=tensorrt_cu12-10.0.1-py2.py3-none-any.whl size=17551 sha256=4e3ca806594b0cfb85abdd78d1df08c12795615fa8eb3be4e61636446f419f86\n","  Stored in directory: /root/.cache/pip/wheels/3d/65/7d/75f1bf55d7e57b0c82cb037d1d39d53851946315222eaf4c76\n","Successfully built tensorrt tensorrt-cu12\n","Installing collected packages: tensorrt-cu12, smmap, setproctitle, sentry-sdk, docker-pycreds, tensorrt, gitdb, gitpython, xformers, wandb, bitsandbytes\n","Successfully installed bitsandbytes-0.43.1 docker-pycreds-0.4.0 gitdb-4.0.11 gitpython-3.1.43 sentry-sdk-2.3.1 setproctitle-1.3.3 smmap-5.0.1 tensorrt-10.0.1 tensorrt-cu12-10.0.1 wandb-0.17.0 xformers-0.0.26.post1\n"]}],"source":["!pip install tensorrt bitsandbytes xformers wandb"]},{"cell_type":"code","execution_count":12,"metadata":{"id":"VOggHoq5ytZF","colab":{"base_uri":"https://localhost:8080/"},"executionInfo":{"status":"ok","timestamp":1716764921394,"user_tz":240,"elapsed":14179,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}},"outputId":"18537e3c-1a5d-4bb8-b322-2af4b8071538"},"outputs":[{"output_type":"stream","name":"stdout","text":["Requirement already satisfied: diffusers in /usr/local/lib/python3.10/dist-packages (0.28.0.dev0)\n","Requirement already satisfied: accelerate in /usr/local/lib/python3.10/dist-packages (0.30.1)\n","Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.10/dist-packages (from diffusers) (7.1.0)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from diffusers) (3.14.0)\n","Requirement already satisfied: huggingface-hub>=0.20.2 in /usr/local/lib/python3.10/dist-packages (from diffusers) (0.23.1)\n","Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from diffusers) (1.25.2)\n","Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from diffusers) (2023.12.25)\n","Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from diffusers) (2.31.0)\n","Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from diffusers) (0.4.3)\n","Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from diffusers) (9.4.0)\n","Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from accelerate) (24.0)\n","Requirement already satisfied: psutil in /usr/local/lib/python3.10/dist-packages (from accelerate) (5.9.5)\n","Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from accelerate) (6.0.1)\n","Requirement already satisfied: torch>=1.10.0 in /usr/local/lib/python3.10/dist-packages (from accelerate) (2.3.0+cu121)\n","Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers) (2023.6.0)\n","Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers) (4.66.4)\n","Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers) (4.11.0)\n","Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (1.12)\n","Requirement already satisfied: networkx in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (3.3)\n","Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (3.1.4)\n","Requirement already satisfied: nvidia-cuda-nvrtc-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.105)\n","Requirement already satisfied: nvidia-cuda-runtime-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.105)\n","Requirement already satisfied: nvidia-cuda-cupti-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.105)\n","Requirement already satisfied: nvidia-cudnn-cu12==8.9.2.26 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (8.9.2.26)\n","Requirement already satisfied: nvidia-cublas-cu12==12.1.3.1 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.3.1)\n","Requirement already satisfied: nvidia-cufft-cu12==11.0.2.54 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (11.0.2.54)\n","Requirement already satisfied: nvidia-curand-cu12==10.3.2.106 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (10.3.2.106)\n","Requirement already satisfied: nvidia-cusolver-cu12==11.4.5.107 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (11.4.5.107)\n","Requirement already satisfied: nvidia-cusparse-cu12==12.1.0.106 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.0.106)\n","Requirement already satisfied: nvidia-nccl-cu12==2.20.5 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (2.20.5)\n","Requirement already satisfied: nvidia-nvtx-cu12==12.1.105 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (12.1.105)\n","Requirement already satisfied: triton==2.3.0 in /usr/local/lib/python3.10/dist-packages (from torch>=1.10.0->accelerate) (2.3.0)\n","Requirement already satisfied: nvidia-nvjitlink-cu12 in /usr/local/lib/python3.10/dist-packages (from nvidia-cusolver-cu12==11.4.5.107->torch>=1.10.0->accelerate) (12.5.40)\n","Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata->diffusers) (3.18.2)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers) (2024.2.2)\n","Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/lib/python3.10/dist-packages (from jinja2->torch>=1.10.0->accelerate) (2.1.5)\n","Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch>=1.10.0->accelerate) (1.3.0)\n"]}],"source":["pip install --upgrade diffusers accelerate"]},{"cell_type":"markdown","metadata":{"id":"-xT93bqryH_8"},"source":["## Logging into Weights and Biases"]},{"cell_type":"code","execution_count":13,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"-VJlmzeTNqI6","outputId":"0f26365c-9e9b-42fc-ba96-add869dbbc6e","executionInfo":{"status":"ok","timestamp":1716764942312,"user_tz":240,"elapsed":17347,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["\u001b[34m\u001b[1mwandb\u001b[0m: Logging into wandb.ai. (Learn how to deploy a W&B server locally: https://wandb.me/wandb-server)\n","\u001b[34m\u001b[1mwandb\u001b[0m: You can find your API key in your browser here: https://wandb.ai/authorize\n","\u001b[34m\u001b[1mwandb\u001b[0m: Paste an API key from your profile and hit enter, or press ctrl+c to quit: \n","\u001b[34m\u001b[1mwandb\u001b[0m: Appending key for api.wandb.ai to your netrc file: /root/.netrc\n"]}],"source":["!wandb login"]},{"cell_type":"markdown","metadata":{"id":"G8QWClW5zZRH"},"source":["## Train DreamBooth LoRA Model with Stable Diffusion XL"]},{"cell_type":"code","execution_count":16,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"dxqpf2HWLkGs","outputId":"4d170a41-3c21-4287-c9f5-2670fcc9a466","executionInfo":{"status":"ok","timestamp":1716768939361,"user_tz":240,"elapsed":3632633,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["2024-05-26 23:15:16.005566: E external/local_xla/xla/stream_executor/cuda/cuda_dnn.cc:9261] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n","2024-05-26 23:15:16.005615: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:607] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n","2024-05-26 23:15:16.012753: E external/local_xla/xla/stream_executor/cuda/cuda_blas.cc:1515] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n","2024-05-26 23:15:16.033650: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.\n","To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.\n","2024-05-26 23:15:18.206067: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n","05/26/2024 23:15:20 - INFO - __main__ - Distributed environment: NO\n","Num processes: 1\n","Process index: 0\n","Local process index: 0\n","Device: cuda\n","\n","Mixed precision type: fp16\n","\n","/usr/local/lib/python3.10/dist-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`.\n","  warnings.warn(\n","You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.\n","You are using a model of type clip_text_model to instantiate a model of type . This is not supported for all configurations of models and can yield errors.\n","{'variance_type', 'clip_sample_range', 'dynamic_thresholding_ratio', 'thresholding', 'rescale_betas_zero_snr'} was not found in config. Values will be initialized to default values.\n","{'latents_std', 'latents_mean', 'force_upcast'} was not found in config. Values will be initialized to default values.\n","{'reverse_transformer_layers_per_block', 'dropout', 'attention_type'} was not found in config. Values will be initialized to default values.\n","\u001b[34m\u001b[1mwandb\u001b[0m: Currently logged in as: \u001b[33mnatarajan-paresh\u001b[0m (\u001b[33mparesh\u001b[0m). Use \u001b[1m`wandb login --relogin`\u001b[0m to force relogin\n","\u001b[34m\u001b[1mwandb\u001b[0m: Tracking run with wandb version 0.17.0\n","\u001b[34m\u001b[1mwandb\u001b[0m: Run data is saved locally in \u001b[35m\u001b[1m/content/diffusers/examples/dreambooth/wandb/run-20240526_231649-b8d3iyc6\u001b[0m\n","\u001b[34m\u001b[1mwandb\u001b[0m: Run \u001b[1m`wandb offline`\u001b[0m to turn off syncing.\n","\u001b[34m\u001b[1mwandb\u001b[0m: Syncing run \u001b[33mjumping-sponge-3\u001b[0m\n","\u001b[34m\u001b[1mwandb\u001b[0m: ⭐️ View project at \u001b[34m\u001b[4mhttps://wandb.ai/paresh/dreambooth-lora-sd-xl\u001b[0m\n","\u001b[34m\u001b[1mwandb\u001b[0m: πŸš€ View run at \u001b[34m\u001b[4mhttps://wandb.ai/paresh/dreambooth-lora-sd-xl/runs/b8d3iyc6\u001b[0m\n","05/26/2024 23:16:50 - INFO - __main__ - ***** Running training *****\n","05/26/2024 23:16:50 - INFO - __main__ -   Num examples = 155\n","05/26/2024 23:16:50 - INFO - __main__ -   Num batches each epoch = 155\n","05/26/2024 23:16:50 - INFO - __main__ -   Num Epochs = 7\n","05/26/2024 23:16:50 - INFO - __main__ -   Instantaneous batch size per device = 1\n","05/26/2024 23:16:50 - INFO - __main__ -   Total train batch size (w. parallel, distributed & accumulation) = 2\n","05/26/2024 23:16:50 - INFO - __main__ -   Gradient Accumulation steps = 2\n","05/26/2024 23:16:50 - INFO - __main__ -   Total optimization steps = 500\n","Steps:  16% 78/500 [08:11<38:14,  5.44s/it, loss=0.323, lr=0.0002] \n","Fetching 11 files:   0% 0/11 [00:00<?, ?it/s]\u001b[A\n","\n","diffusion_pytorch_model.safetensors:   0% 0.00/335M [00:00<?, ?B/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:   9% 31.5M/335M [00:00<00:01, 245MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  19% 62.9M/335M [00:00<00:02, 133MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  28% 94.4M/335M [00:00<00:01, 167MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  38% 126M/335M [00:00<00:01, 195MB/s] \u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  47% 157M/335M [00:00<00:00, 218MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  56% 189M/335M [00:02<00:03, 38.3MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  66% 220M/335M [00:03<00:02, 53.2MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  75% 252M/335M [00:03<00:01, 69.5MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  81% 273M/335M [00:03<00:00, 81.4MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  88% 294M/335M [00:03<00:00, 94.2MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors:  94% 315M/335M [00:05<00:00, 28.2MB/s]\u001b[A\u001b[A\n","\n","diffusion_pytorch_model.safetensors: 100% 335M/335M [00:09<00:00, 36.9MB/s]\n","\n","Fetching 11 files: 100% 11/11 [00:09<00:00,  1.18it/s]\n","{'image_encoder', 'feature_extractor'} was not found in config. Values will be initialized to default values.\n","\n","Loading pipeline components...:   0% 0/7 [00:00<?, ?it/s]\u001b[A{'timestep_type', 'final_sigmas_type', 'sigma_min', 'sigma_max', 'rescale_betas_zero_snr'} was not found in config. Values will be initialized to default values.\n","Loaded scheduler as EulerDiscreteScheduler from `scheduler` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","\n","Loading pipeline components...:  29% 2/7 [00:00<00:00,  7.48it/s]\u001b[ALoaded tokenizer as CLIPTokenizer from `tokenizer` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","\n","Loading pipeline components...:  71% 5/7 [00:00<00:00, 15.20it/s]\u001b[ALoaded tokenizer_2 as CLIPTokenizer from `tokenizer_2` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","Loading pipeline components...: 100% 7/7 [00:00<00:00, 15.75it/s]\n","05/26/2024 23:25:28 - INFO - __main__ - Running validation... \n"," Generating 4 images with prompt: A high-quality photo of Trump showing thumbs up in a taco restaurant, detailed, sharp focus.\n","{'final_sigmas_type', 'variance_type', 'dynamic_thresholding_ratio', 'euler_at_final', 'solver_type', 'lower_order_final', 'solver_order', 'lambda_min_clipped', 'thresholding', 'rescale_betas_zero_snr', 'algorithm_type', 'use_lu_lambdas'} was not found in config. Values will be initialized to default values.\n","/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py:456: UserWarning: Plan failed with a cudnnException: CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR: cudnnFinalize Descriptor Failed cudnn_status: CUDNN_STATUS_NOT_SUPPORTED (Triggered internally at ../aten/src/ATen/native/cudnn/Conv_v8.cpp:919.)\n","  return F.conv2d(input, weight, bias, self.stride,\n","/content/diffusers/src/diffusers/image_processor.py:110: RuntimeWarning: invalid value encountered in cast\n","  images = (images * 255).round().astype(\"uint8\")\n","Steps:  20% 100/500 [14:57<42:56,  6.44s/it, loss=0.211, lr=0.0002]05/26/2024 23:31:48 - INFO - accelerate.accelerator - Saving current state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100\n","Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/pytorch_lora_weights.safetensors\n","05/26/2024 23:31:49 - INFO - accelerate.checkpointing - Optimizer state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/optimizer.bin\n","05/26/2024 23:31:49 - INFO - accelerate.checkpointing - Scheduler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/scheduler.bin\n","05/26/2024 23:31:49 - INFO - accelerate.checkpointing - Sampler state for dataloader 0 saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/sampler.bin\n","05/26/2024 23:31:49 - INFO - accelerate.checkpointing - Gradient scaler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/scaler.pt\n","05/26/2024 23:31:49 - INFO - accelerate.checkpointing - Random states saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100/random_states_0.pkl\n","05/26/2024 23:31:49 - INFO - __main__ - Saved state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-100\n","Steps:  40% 200/500 [25:36<32:04,  6.42s/it, loss=0.00302, lr=0.0002]05/26/2024 23:42:27 - INFO - accelerate.accelerator - Saving current state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200\n","Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/pytorch_lora_weights.safetensors\n","05/26/2024 23:42:28 - INFO - accelerate.checkpointing - Optimizer state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/optimizer.bin\n","05/26/2024 23:42:28 - INFO - accelerate.checkpointing - Scheduler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/scheduler.bin\n","05/26/2024 23:42:28 - INFO - accelerate.checkpointing - Sampler state for dataloader 0 saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/sampler.bin\n","05/26/2024 23:42:28 - INFO - accelerate.checkpointing - Gradient scaler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/scaler.pt\n","05/26/2024 23:42:28 - INFO - accelerate.checkpointing - Random states saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200/random_states_0.pkl\n","05/26/2024 23:42:28 - INFO - __main__ - Saved state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-200\n","Steps:  60% 300/500 [36:13<21:17,  6.39s/it, loss=0.111, lr=0.0002]05/26/2024 23:53:04 - INFO - accelerate.accelerator - Saving current state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300\n","Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/pytorch_lora_weights.safetensors\n","05/26/2024 23:53:05 - INFO - accelerate.checkpointing - Optimizer state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/optimizer.bin\n","05/26/2024 23:53:05 - INFO - accelerate.checkpointing - Scheduler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/scheduler.bin\n","05/26/2024 23:53:05 - INFO - accelerate.checkpointing - Sampler state for dataloader 0 saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/sampler.bin\n","05/26/2024 23:53:05 - INFO - accelerate.checkpointing - Gradient scaler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/scaler.pt\n","05/26/2024 23:53:05 - INFO - accelerate.checkpointing - Random states saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300/random_states_0.pkl\n","05/26/2024 23:53:05 - INFO - __main__ - Saved state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-300\n","Steps:  80% 400/500 [46:48<10:33,  6.34s/it, loss=0.0025, lr=0.0002]05/27/2024 00:03:38 - INFO - accelerate.accelerator - Saving current state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400\n","Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/pytorch_lora_weights.safetensors\n","05/27/2024 00:03:39 - INFO - accelerate.checkpointing - Optimizer state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/optimizer.bin\n","05/27/2024 00:03:39 - INFO - accelerate.checkpointing - Scheduler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/scheduler.bin\n","05/27/2024 00:03:39 - INFO - accelerate.checkpointing - Sampler state for dataloader 0 saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/sampler.bin\n","05/27/2024 00:03:39 - INFO - accelerate.checkpointing - Gradient scaler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/scaler.pt\n","05/27/2024 00:03:39 - INFO - accelerate.checkpointing - Random states saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400/random_states_0.pkl\n","05/27/2024 00:03:39 - INFO - __main__ - Saved state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-400\n","Steps: 100% 500/500 [57:26<00:00,  7.19s/it, loss=0.302, lr=0.0002]05/27/2024 00:14:17 - INFO - accelerate.accelerator - Saving current state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500\n","Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/pytorch_lora_weights.safetensors\n","05/27/2024 00:14:19 - INFO - accelerate.checkpointing - Optimizer state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/optimizer.bin\n","05/27/2024 00:14:19 - INFO - accelerate.checkpointing - Scheduler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/scheduler.bin\n","05/27/2024 00:14:19 - INFO - accelerate.checkpointing - Sampler state for dataloader 0 saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/sampler.bin\n","05/27/2024 00:14:19 - INFO - accelerate.checkpointing - Gradient scaler state saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/scaler.pt\n","05/27/2024 00:14:19 - INFO - accelerate.checkpointing - Random states saved in /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500/random_states_0.pkl\n","05/27/2024 00:14:19 - INFO - __main__ - Saved state to /content/drive/MyDrive/SDXL/Output-Complex/checkpoint-500\n","Steps: 100% 500/500 [57:29<00:00,  7.19s/it, loss=0.119, lr=0.0002]Model weights saved in /content/drive/MyDrive/SDXL/Output-Complex/pytorch_lora_weights.safetensors\n","{'latents_std', 'latents_mean', 'force_upcast'} was not found in config. Values will be initialized to default values.\n","{'image_encoder', 'feature_extractor'} was not found in config. Values will be initialized to default values.\n","\n","Loading pipeline components...:   0% 0/7 [00:00<?, ?it/s]\u001b[ALoaded text_encoder as CLIPTextModel from `text_encoder` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","\n","Loading pipeline components...:  14% 1/7 [00:02<00:17,  2.97s/it]\u001b[A{'timestep_type', 'final_sigmas_type', 'sigma_min', 'sigma_max', 'rescale_betas_zero_snr'} was not found in config. Values will be initialized to default values.\n","Loaded scheduler as EulerDiscreteScheduler from `scheduler` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","Loaded text_encoder_2 as CLIPTextModelWithProjection from `text_encoder_2` subfolder of stabilityai/stable-diffusion-xl-base-1.0.\n","\n","Loading pipeline components...:  43% 3/7 [00:19<00:27,  6.95s/it]\u001b[A{'reverse_transformer_layers_per_block', 'dropout', 'attention_type'} was not found in config. Values will be initialized to default values.\n","Traceback (most recent call last):\n","  File \"/usr/local/bin/accelerate\", line 8, in <module>\n","    sys.exit(main())\n","  File \"/usr/local/lib/python3.10/dist-packages/accelerate/commands/accelerate_cli.py\", line 46, in main\n","    args.func(args)\n","  File \"/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py\", line 1082, in launch_command\n","    simple_launcher(args)\n","  File \"/usr/local/lib/python3.10/dist-packages/accelerate/commands/launch.py\", line 688, in simple_launcher\n","    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)\n","subprocess.CalledProcessError: Command '['/usr/bin/python3', 'train_dreambooth_lora_sdxl.py', '--pretrained_model_name_or_path=stabilityai/stable-diffusion-xl-base-1.0', '--instance_data_dir=/content/drive/MyDrive/SDXL/Images/thumbsup', '--pretrained_vae_model_name_or_path=stabilityai/sdxl-vae', '--output_dir=/content/drive/MyDrive/SDXL/Output-Complex', '--mixed_precision=fp16', '--instance_prompt=a high-quality photo of Trump showing thumbs up', '--resolution=1024', '--train_batch_size=1', '--gradient_accumulation_steps=2', '--learning_rate=2e-4', '--lr_scheduler=constant_with_warmup', '--lr_warmup_steps=0', '--max_train_steps=500', '--validation_prompt=A high-quality photo of Trump showing thumbs up in a taco restaurant, detailed, sharp focus', '--validation_epochs=15', '--seed=42', '--push_to_hub', '--gradient_checkpointing', '--checkpointing_steps=100', '--use_8bit_adam', '--prior_loss_weight=0.8', '--num_class_images=10', '--report_to=wandb']' died with <Signals.SIGKILL: 9>.\n"]}],"source":["!accelerate launch train_dreambooth_lora_sdxl.py \\\n","  --pretrained_model_name_or_path=\"stabilityai/stable-diffusion-xl-base-1.0\" \\\n","  --instance_data_dir=\"/content/drive/MyDrive/SDXL/Images/thumbsup\" \\\n","  --pretrained_vae_model_name_or_path=\"stabilityai/sdxl-vae\" \\\n","  --output_dir=\"/content/drive/MyDrive/SDXL/Output-Complex\" \\\n","  --mixed_precision=\"fp16\" \\\n","  --instance_prompt=\"a high-quality photo of Trump showing thumbs up\" \\\n","  --resolution=1024 \\\n","  --train_batch_size=1 \\\n","  --gradient_accumulation_steps=2 \\\n","  --learning_rate=2e-4 \\\n","  --lr_scheduler=\"constant_with_warmup\" \\\n","  --lr_warmup_steps=0 \\\n","  --max_train_steps=500 \\\n","  --validation_prompt=\"A high-quality photo of Trump showing thumbs up in a taco restaurant, detailed, sharp focus\" \\\n","  --validation_epochs=15 \\\n","  --seed=\"42\" \\\n","  --push_to_hub \\\n","  --gradient_checkpointing \\\n","  --checkpointing_steps=100 \\\n","  --use_8bit_adam \\\n","  --prior_loss_weight=0.8 \\\n","  --num_class_images=10 \\\n","  --report_to=\"wandb\""]},{"cell_type":"code","execution_count":19,"metadata":{"colab":{"base_uri":"https://localhost:8080/"},"id":"OLajqLEozrP1","outputId":"fda17a4d-623a-4746-f8bc-8787cce04ccc","executionInfo":{"status":"ok","timestamp":1716769013270,"user_tz":240,"elapsed":3,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["/content\n"]}],"source":["%cd .."]},{"cell_type":"code","execution_count":22,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":832},"id":"dH-3D2j51Z5R","outputId":"c4b047f8-4868-428b-a8c9-a4d14f00d7de","executionInfo":{"status":"ok","timestamp":1716769108160,"user_tz":240,"elapsed":20229,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stdout","text":["Found existing installation: diffusers 0.28.0.dev0\n","Uninstalling diffusers-0.28.0.dev0:\n","  Would remove:\n","    /usr/local/bin/diffusers-cli\n","    /usr/local/lib/python3.10/dist-packages/__editable__.diffusers-0.28.0.dev0.pth\n","    /usr/local/lib/python3.10/dist-packages/diffusers-0.28.0.dev0.dist-info/*\n","Proceed (Y/n)? Y\n","  Successfully uninstalled diffusers-0.28.0.dev0\n","Y\n","Obtaining file:///content/diffusers\n","  Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n","  Checking if build backend supports build_editable ... \u001b[?25l\u001b[?25hdone\n","  Getting requirements to build editable ... \u001b[?25l\u001b[?25hdone\n","  Preparing editable metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n","Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (7.1.0)\n","Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (3.14.0)\n","Requirement already satisfied: huggingface-hub>=0.20.2 in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (0.23.1)\n","Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (1.25.2)\n","Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (2023.12.25)\n","Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (2.31.0)\n","Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (0.4.3)\n","Requirement already satisfied: Pillow in /usr/local/lib/python3.10/dist-packages (from diffusers==0.28.0.dev0) (9.4.0)\n","Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers==0.28.0.dev0) (2023.6.0)\n","Requirement already satisfied: packaging>=20.9 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers==0.28.0.dev0) (24.0)\n","Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers==0.28.0.dev0) (6.0.1)\n","Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers==0.28.0.dev0) (4.66.4)\n","Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.20.2->diffusers==0.28.0.dev0) (4.11.0)\n","Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.10/dist-packages (from importlib-metadata->diffusers==0.28.0.dev0) (3.18.2)\n","Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers==0.28.0.dev0) (3.3.2)\n","Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers==0.28.0.dev0) (3.7)\n","Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers==0.28.0.dev0) (2.0.7)\n","Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->diffusers==0.28.0.dev0) (2024.2.2)\n","Building wheels for collected packages: diffusers\n","  Building editable for diffusers (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n","  Created wheel for diffusers: filename=diffusers-0.28.0.dev0-0.editable-py3-none-any.whl size=11103 sha256=90d99a470e204fe901a1e004cded30891a672cf4560a0e19c5c72ced78b9931a\n","  Stored in directory: /tmp/pip-ephem-wheel-cache-hxsjadew/wheels/95/c5/3b/e1b4269f8a2584de57e75f949a185b48fc4144e9a91fc9965a\n","Successfully built diffusers\n","Installing collected packages: diffusers\n","Successfully installed diffusers-0.28.0.dev0\n"]},{"output_type":"display_data","data":{"application/vnd.colab-display-data+json":{"pip_warning":{"packages":["diffusers"]},"id":"6354e7b9b24a4e05b768faef2d470ff2"}},"metadata":{}}],"source":["!pip uninstall diffusers\n","!pip install -e ./diffusers"]},{"cell_type":"markdown","metadata":{"id":"MPxfTWM61Pvo"},"source":["## Load LoRA Weights and Generate Images\n"]},{"cell_type":"code","execution_count":1,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":272,"referenced_widgets":["1f16e970b72c4068bf98fdadb0322961","5bf789f2a9e748b0802ae7f3dfcf716e","23e86a203bf74620ab1b6402f5b612c5","487c49c618c7495e88ff7527a782d0cf","20593d9be78d475896966b0381534cab","8c6fe594388d4bada6deab0b8e027f65","83a3b2ce17ae4d4681c85d30f38e21d4","4b9401f56b124bfca79ad1d573f6af92","ec94dedf57924dc3a40d0efbb6a9089a","5968e799f8f74c2fbbd332d3d24b8d9a","0b974a2cb6bc4df5acc9b1c64d4a95be","2238f9ac01d0412c8746816538e02dba","12f9172892154f18800f5702a8f0d6fb","75c12c05d71d4254968e255960843555","10d25f8e59e34df0b4c5a4304abc4741","c1ed74c5752a486291daff5f4db6d6d9","abd55dda7cd64853983d384fcd3ff5af","0b0b03dafd6f426ca6c0702b8b0a8856","0c1802f2738d44a29e1794220ddd486b","24a2c8f4104d47d88b16ff6a18ac0982","ce81727b3d164128b3058755c1ad8052","6bc5eabc98a34a2a91b1a8849463e0d4","49e80454f0e848769878c766113de37c","7ca067b5d0b346e1978632c38814a191","1dc3bbf60e2d4065adc6237e8e24fc37","12a2728d7f0e49eea9bc3db4a89550d1","f6c2b1ed98694446b8028833d50716e8","655f9a5373174a39b6f4c4045f736d81","896556cc55a14718aaa39d9143c997af","bd25d53865fc411797637f0b3102f7b6","05fe1a8cd6d44a848d868dd8158c5194","b2b3df6d64d54c759eae8049870c42dc","29fd1c98afa14c4f843328c7c252a78a","d6c72301e2d64b36b514588c2b19e859","d5275a51b36d4cf5b0059d066d92a6a0","736c5140c6814f61b80fa40e906f2a2e","59c88828ca724aa7b7b28602a4bb69f3","bab16429b0f646d28f4aa5836ffd1c87","f067454f66874bc0998c2a4d0d1c35d2","ee2a5790403646eba88b2d31886dbaa6","0aef3f84413443a09d5e2f2efa9ca3f6","fe2351dbe7c14c10be50f270a70a6cfd","733d72c293c9442c8946d8bf2a7b5091","41ba3e6a7a144c93a81b64fa4c007d54"]},"id":"25rcS5NTzZD8","outputId":"420291e4-d252-405b-eea1-79e19b270d73","executionInfo":{"status":"ok","timestamp":1716769231378,"user_tz":240,"elapsed":111673,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"stream","name":"stderr","text":["/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_token.py:89: UserWarning: \n","The secret `HF_TOKEN` does not exist in your Colab secrets.\n","To authenticate with the Hugging Face Hub, create a token in your settings tab (https://huggingface.co/settings/tokens), set it as secret in your Google Colab and restart your session.\n","You will be able to reuse this secret in all of your notebooks.\n","Please note that authentication is recommended but still optional to access public models or datasets.\n","  warnings.warn(\n"]},{"output_type":"display_data","data":{"text/plain":["Fetching 19 files:   0%|          | 0/19 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"1f16e970b72c4068bf98fdadb0322961"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["vae/config.json:   0%|          | 0.00/642 [00:00<?, ?B/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"2238f9ac01d0412c8746816538e02dba"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["diffusion_pytorch_model.safetensors:   0%|          | 0.00/335M [00:00<?, ?B/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"49e80454f0e848769878c766113de37c"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":["Loading pipeline components...:   0%|          | 0/7 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"d6c72301e2d64b36b514588c2b19e859"}},"metadata":{}}],"source":["from huggingface_hub.repocard import RepoCard\n","from diffusers import DiffusionPipeline\n","import torch\n","\n","pipeline = DiffusionPipeline.from_pretrained(\"stabilityai/stable-diffusion-xl-base-1.0\", torch_dtype=torch.float16)\n","pipeline = pipeline.to(\"cuda\")\n","pipeline.load_lora_weights(\"/content/diffusers/examples/dreambooth/pytorch_lora_weights.safetensors\")\n"]},{"cell_type":"code","execution_count":2,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":67,"referenced_widgets":["8c939b2d944d44a79b569853d481af52","8e7b605f30fc46f3b91e3810f973eb76","33f6a24afa4740af92a92785a1090511","31ca8b7ccc7746f6bcbdfc7d111ced5a","5be1503c125746fab9fa726f0c90d2bc","b833bde9641541d29323df4e7cfb1ada","26a2be953f6544ba813f93d7b57eadfa","f465d7d5c0984a9a967c0af6c94935e0","7470627ef4324d479b1814f9c900c3da","af4f5e9316bf474dbbaec3eb0b32716b","d7168cd9e8f54b09936b3cdb07c0a0a6"]},"id":"7uv-ccO9HvW9","outputId":"6dd27334-d347-4d0b-81bb-35c7bc300a0c","executionInfo":{"status":"ok","timestamp":1716769289114,"user_tz":240,"elapsed":49788,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"display_data","data":{"text/plain":["  0%|          | 0/50 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"8c939b2d944d44a79b569853d481af52"}},"metadata":{}},{"output_type":"stream","name":"stdout","text":["Image saved at: /content/drive/MyDrive/SDXL/Output-Complex/Trump1.png\n"]}],"source":["image = pipeline(\"A high quality picture of Trump showing the thumbs up in Paris\", num_inference_steps=50).images[0]\n","\n","image_path = \"/content/drive/MyDrive/SDXL/Output-Complex/Trump1.png\"\n","image.save(image_path)\n","\n","print(\"Image saved at:\", image_path)"]},{"cell_type":"code","execution_count":3,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":67,"referenced_widgets":["f249bc88b2b74b5f86b2fddbb9794e5c","e7c3443de01f4f0fa30f9e506ec4781c","02e8fa6b51bb45b5b00674d38b71f3b6","a9f6962300f54555a13ac43738fa72b7","9ea615790c484fec90909c50278bb211","c1082406aba54d5fa9c485f8378eb4a7","3abe918b1ecb4d4c9f9a02cc13fb795f","7aed06b732e2479b8a6a5a9ba7724818","f8f282c86b354773a07e2115d4ba47d3","f71a211eeb614339bf927e589faff000","4ffc829ccbe844c48b9d3efa068cd8bd"]},"id":"_ELN9yqLBWjG","outputId":"6561de7a-844f-4c92-be3f-0281a983f858","executionInfo":{"status":"ok","timestamp":1716769352630,"user_tz":240,"elapsed":52269,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"display_data","data":{"text/plain":["  0%|          | 0/50 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"f249bc88b2b74b5f86b2fddbb9794e5c"}},"metadata":{}},{"output_type":"stream","name":"stdout","text":["Image saved at: /content/drive/MyDrive/SDXL/Output-Complex/Trump2.png\n"]}],"source":["image = pipeline(\"A picture of Trump showing the thumbs up as a Anime character, detailed, sharp focus\", num_inference_steps=50).images[0]\n","\n","image_path = \"/content/drive/MyDrive/SDXL/Output-Complex/Trump2.png\"\n","image.save(image_path)\n","\n","print(\"Image saved at:\", image_path)"]},{"cell_type":"code","execution_count":4,"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":67,"referenced_widgets":["da29fd092f2f4d369d3d4418cf415b09","4d8ecb55540e4e50979afe5746d53323","12ad1136a67240cc93b312e777332a18","0f70760e8301479b9a79c790142e2839","9482fa65f2714e0ca5a0d5b752202a6c","6aedf7ad6fb84b23808d48323601af11","88f16a3e22264ad9911affd376939216","fe726888906e4fc3b9d19744a67b6365","9d5e17e4405344eb84dc06670dc93fe1","83e0adc0be684464a124f4348be4dbad","8f2f66b2182442a2ad5be4fc200d7136"]},"id":"gzBjJFzuBYtK","outputId":"00480aa0-73da-4638-a855-f3bebeb058a3","executionInfo":{"status":"ok","timestamp":1716769403503,"user_tz":240,"elapsed":50892,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}}},"outputs":[{"output_type":"display_data","data":{"text/plain":["  0%|          | 0/50 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"da29fd092f2f4d369d3d4418cf415b09"}},"metadata":{}},{"output_type":"stream","name":"stdout","text":["Image saved at: /content/drive/MyDrive/SDXL/Output-Complex/Trump3.png\n"]}],"source":["image = pipeline(\"A picture of Trump showing thumbsup in whitehouse\", num_inference_steps=50).images[0]\n","\n","image_path = \"/content/drive/MyDrive/SDXL/Output-Complex/Trump3.png\"\n","image.save(image_path)\n","\n","print(\"Image saved at:\", image_path)"]},{"cell_type":"code","source":["image = pipeline(\"A high quality picture of Trump showing the thumbs up as The Statue of Liberty\", num_inference_steps=50).images[0]\n","\n","image_path = \"/content/drive/MyDrive/SDXL/Output-Complex/Trump4.png\"\n","image.save(image_path)\n","\n","print(\"Image saved at:\", image_path)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":67,"referenced_widgets":["dfeb5ee80e9e4cf9b67acc7c3f37f04e","0d05bbf6b281415e8c1c3659312a957e","bbfdf004a5e146ea933235ddbfcfca1a","8830c389341f48b89158bd9ce6d15693","6c96055297954301a8efae14b139d884","66677d54e5eb4406ae2372769dc3520d","1ecf8b408e884f77a8dfa37e4f601ef0","6651ad41c06b4a28bc72d1b6525eb50f","d4b03f151205485a996662aedf6be593","5622bf0757ff436c9714d95a9d2de88d","898a3625a4174672a44a3fd1daef54f7"]},"id":"5fm_6IxYOK4c","executionInfo":{"status":"ok","timestamp":1716769454649,"user_tz":240,"elapsed":51182,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}},"outputId":"3de93892-d763-46c5-de4c-b5f0ae1e5f73"},"execution_count":5,"outputs":[{"output_type":"display_data","data":{"text/plain":["  0%|          | 0/50 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"dfeb5ee80e9e4cf9b67acc7c3f37f04e"}},"metadata":{}},{"output_type":"stream","name":"stdout","text":["Image saved at: /content/drive/MyDrive/SDXL/Output-Complex/Trump4.png\n"]}]},{"cell_type":"code","source":["image = pipeline(\"A high quality picture of Trump showing thumbs up in a lake with a laptop\", num_inference_steps=50).images[0]\n","\n","image_path = \"/content/drive/MyDrive/SDXL/Output-Complex/Trump5.png\"\n","image.save(image_path)\n","\n","print(\"Image saved at:\", image_path)"],"metadata":{"colab":{"base_uri":"https://localhost:8080/","height":67,"referenced_widgets":["fae24b3d5df848f5b56385c47a04bde6","85be95a81704447f8cc17ae351892c3f","2be5d278af5842c189be31d9663716d7","d4cfc549b52c4e2ea8025a57077962cc","aba1a2559e1d43f5aef19ae006932419","3c055bafe9fd418b9705f86d495d432b","cb4009eaacde42f8af413de493e9b286","e7df3bd1d12241918a7771a2ce7e1cc4","470d375f600a440bab44ed1440c5d1b7","bb82121f9a8445e7b59d4214584df23f","d87eb80215234080939bc7774e101642"]},"id":"IIh3-gZPK4iO","executionInfo":{"status":"ok","timestamp":1716769505791,"user_tz":240,"elapsed":51174,"user":{"displayName":"306429 ktr.ece.17","userId":"18271986174943354641"}},"outputId":"2c1cdea9-5e5d-4326-e34e-44b8d620b77d"},"execution_count":6,"outputs":[{"output_type":"display_data","data":{"text/plain":["  0%|          | 0/50 [00:00<?, ?it/s]"],"application/vnd.jupyter.widget-view+json":{"version_major":2,"version_minor":0,"model_id":"fae24b3d5df848f5b56385c47a04bde6"}},"metadata":{}},{"output_type":"stream","name":"stdout","text":["Image saved at: /content/drive/MyDrive/SDXL/Output-Complex/Trump5.png\n"]}]},{"cell_type":"markdown","metadata":{"id":"q0-L9rjB5s8M"},"source":["## Push to Hugging Face Hub"]},{"cell_type":"code","execution_count":null,"metadata":{"id":"FcIX1JNi52LE"},"outputs":[],"source":["from huggingface_hub import HfApi\n","\n","api = HfApi()\n","\n","username = \"Paresh1879\"\n","repo_name = \"stable-diffusion-xl-thumbsup-extend\"\n","\n","api.upload_folder(repo_id=f\"{username}/{repo_name}\", folder_path=\"/content/drive/MyDrive/SDXL\")"]},{"cell_type":"code","source":[],"metadata":{"id":"UM4fpO4sc502"},"execution_count":null,"outputs":[]}],"metadata":{"accelerator":"GPU","colab":{"gpuType":"T4","provenance":[]},"kernelspec":{"display_name":"Python 3","name":"python3"},"language_info":{"name":"python"},"widgets":{"application/vnd.jupyter.widget-state+json":{"1f16e970b72c4068bf98fdadb0322961":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_5bf789f2a9e748b0802ae7f3dfcf716e","IPY_MODEL_23e86a203bf74620ab1b6402f5b612c5","IPY_MODEL_487c49c618c7495e88ff7527a782d0cf"],"layout":"IPY_MODEL_20593d9be78d475896966b0381534cab"}},"5bf789f2a9e748b0802ae7f3dfcf716e":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_8c6fe594388d4bada6deab0b8e027f65","placeholder":"​","style":"IPY_MODEL_83a3b2ce17ae4d4681c85d30f38e21d4","value":"Fetching 19 files: 100%"}},"23e86a203bf74620ab1b6402f5b612c5":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_4b9401f56b124bfca79ad1d573f6af92","max":19,"min":0,"orientation":"horizontal","style":"IPY_MODEL_ec94dedf57924dc3a40d0efbb6a9089a","value":19}},"487c49c618c7495e88ff7527a782d0cf":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_5968e799f8f74c2fbbd332d3d24b8d9a","placeholder":"​","style":"IPY_MODEL_0b974a2cb6bc4df5acc9b1c64d4a95be","value":" 19/19 [00:01&lt;00:00, 34.42it/s]"}},"20593d9be78d475896966b0381534cab":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"8c6fe594388d4bada6deab0b8e027f65":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"83a3b2ce17ae4d4681c85d30f38e21d4":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"4b9401f56b124bfca79ad1d573f6af92":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ec94dedf57924dc3a40d0efbb6a9089a":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"5968e799f8f74c2fbbd332d3d24b8d9a":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"0b974a2cb6bc4df5acc9b1c64d4a95be":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"2238f9ac01d0412c8746816538e02dba":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_12f9172892154f18800f5702a8f0d6fb","IPY_MODEL_75c12c05d71d4254968e255960843555","IPY_MODEL_10d25f8e59e34df0b4c5a4304abc4741"],"layout":"IPY_MODEL_c1ed74c5752a486291daff5f4db6d6d9"}},"12f9172892154f18800f5702a8f0d6fb":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_abd55dda7cd64853983d384fcd3ff5af","placeholder":"​","style":"IPY_MODEL_0b0b03dafd6f426ca6c0702b8b0a8856","value":"vae/config.json: 100%"}},"75c12c05d71d4254968e255960843555":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_0c1802f2738d44a29e1794220ddd486b","max":642,"min":0,"orientation":"horizontal","style":"IPY_MODEL_24a2c8f4104d47d88b16ff6a18ac0982","value":642}},"10d25f8e59e34df0b4c5a4304abc4741":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_ce81727b3d164128b3058755c1ad8052","placeholder":"​","style":"IPY_MODEL_6bc5eabc98a34a2a91b1a8849463e0d4","value":" 642/642 [00:00&lt;00:00, 15.3kB/s]"}},"c1ed74c5752a486291daff5f4db6d6d9":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"abd55dda7cd64853983d384fcd3ff5af":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"0b0b03dafd6f426ca6c0702b8b0a8856":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"0c1802f2738d44a29e1794220ddd486b":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"24a2c8f4104d47d88b16ff6a18ac0982":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"ce81727b3d164128b3058755c1ad8052":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"6bc5eabc98a34a2a91b1a8849463e0d4":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"49e80454f0e848769878c766113de37c":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_7ca067b5d0b346e1978632c38814a191","IPY_MODEL_1dc3bbf60e2d4065adc6237e8e24fc37","IPY_MODEL_12a2728d7f0e49eea9bc3db4a89550d1"],"layout":"IPY_MODEL_f6c2b1ed98694446b8028833d50716e8"}},"7ca067b5d0b346e1978632c38814a191":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_655f9a5373174a39b6f4c4045f736d81","placeholder":"​","style":"IPY_MODEL_896556cc55a14718aaa39d9143c997af","value":"diffusion_pytorch_model.safetensors: 100%"}},"1dc3bbf60e2d4065adc6237e8e24fc37":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_bd25d53865fc411797637f0b3102f7b6","max":334643268,"min":0,"orientation":"horizontal","style":"IPY_MODEL_05fe1a8cd6d44a848d868dd8158c5194","value":334643268}},"12a2728d7f0e49eea9bc3db4a89550d1":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b2b3df6d64d54c759eae8049870c42dc","placeholder":"​","style":"IPY_MODEL_29fd1c98afa14c4f843328c7c252a78a","value":" 335M/335M [00:01&lt;00:00, 260MB/s]"}},"f6c2b1ed98694446b8028833d50716e8":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"655f9a5373174a39b6f4c4045f736d81":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"896556cc55a14718aaa39d9143c997af":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"bd25d53865fc411797637f0b3102f7b6":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"05fe1a8cd6d44a848d868dd8158c5194":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"b2b3df6d64d54c759eae8049870c42dc":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"29fd1c98afa14c4f843328c7c252a78a":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"d6c72301e2d64b36b514588c2b19e859":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_d5275a51b36d4cf5b0059d066d92a6a0","IPY_MODEL_736c5140c6814f61b80fa40e906f2a2e","IPY_MODEL_59c88828ca724aa7b7b28602a4bb69f3"],"layout":"IPY_MODEL_bab16429b0f646d28f4aa5836ffd1c87"}},"d5275a51b36d4cf5b0059d066d92a6a0":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f067454f66874bc0998c2a4d0d1c35d2","placeholder":"​","style":"IPY_MODEL_ee2a5790403646eba88b2d31886dbaa6","value":"Loading pipeline components...: 100%"}},"736c5140c6814f61b80fa40e906f2a2e":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_0aef3f84413443a09d5e2f2efa9ca3f6","max":7,"min":0,"orientation":"horizontal","style":"IPY_MODEL_fe2351dbe7c14c10be50f270a70a6cfd","value":7}},"59c88828ca724aa7b7b28602a4bb69f3":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_733d72c293c9442c8946d8bf2a7b5091","placeholder":"​","style":"IPY_MODEL_41ba3e6a7a144c93a81b64fa4c007d54","value":" 7/7 [01:21&lt;00:00,  7.41s/it]"}},"bab16429b0f646d28f4aa5836ffd1c87":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f067454f66874bc0998c2a4d0d1c35d2":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"ee2a5790403646eba88b2d31886dbaa6":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"0aef3f84413443a09d5e2f2efa9ca3f6":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"fe2351dbe7c14c10be50f270a70a6cfd":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"733d72c293c9442c8946d8bf2a7b5091":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"41ba3e6a7a144c93a81b64fa4c007d54":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"8c939b2d944d44a79b569853d481af52":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_8e7b605f30fc46f3b91e3810f973eb76","IPY_MODEL_33f6a24afa4740af92a92785a1090511","IPY_MODEL_31ca8b7ccc7746f6bcbdfc7d111ced5a"],"layout":"IPY_MODEL_5be1503c125746fab9fa726f0c90d2bc"}},"8e7b605f30fc46f3b91e3810f973eb76":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_b833bde9641541d29323df4e7cfb1ada","placeholder":"​","style":"IPY_MODEL_26a2be953f6544ba813f93d7b57eadfa","value":"100%"}},"33f6a24afa4740af92a92785a1090511":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_f465d7d5c0984a9a967c0af6c94935e0","max":50,"min":0,"orientation":"horizontal","style":"IPY_MODEL_7470627ef4324d479b1814f9c900c3da","value":50}},"31ca8b7ccc7746f6bcbdfc7d111ced5a":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_af4f5e9316bf474dbbaec3eb0b32716b","placeholder":"​","style":"IPY_MODEL_d7168cd9e8f54b09936b3cdb07c0a0a6","value":" 50/50 [00:45&lt;00:00,  1.07it/s]"}},"5be1503c125746fab9fa726f0c90d2bc":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"b833bde9641541d29323df4e7cfb1ada":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"26a2be953f6544ba813f93d7b57eadfa":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"f465d7d5c0984a9a967c0af6c94935e0":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"7470627ef4324d479b1814f9c900c3da":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"af4f5e9316bf474dbbaec3eb0b32716b":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d7168cd9e8f54b09936b3cdb07c0a0a6":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"f249bc88b2b74b5f86b2fddbb9794e5c":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_e7c3443de01f4f0fa30f9e506ec4781c","IPY_MODEL_02e8fa6b51bb45b5b00674d38b71f3b6","IPY_MODEL_a9f6962300f54555a13ac43738fa72b7"],"layout":"IPY_MODEL_9ea615790c484fec90909c50278bb211"}},"e7c3443de01f4f0fa30f9e506ec4781c":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_c1082406aba54d5fa9c485f8378eb4a7","placeholder":"​","style":"IPY_MODEL_3abe918b1ecb4d4c9f9a02cc13fb795f","value":"100%"}},"02e8fa6b51bb45b5b00674d38b71f3b6":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_7aed06b732e2479b8a6a5a9ba7724818","max":50,"min":0,"orientation":"horizontal","style":"IPY_MODEL_f8f282c86b354773a07e2115d4ba47d3","value":50}},"a9f6962300f54555a13ac43738fa72b7":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_f71a211eeb614339bf927e589faff000","placeholder":"​","style":"IPY_MODEL_4ffc829ccbe844c48b9d3efa068cd8bd","value":" 50/50 [00:49&lt;00:00,  1.03it/s]"}},"9ea615790c484fec90909c50278bb211":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"c1082406aba54d5fa9c485f8378eb4a7":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3abe918b1ecb4d4c9f9a02cc13fb795f":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"7aed06b732e2479b8a6a5a9ba7724818":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"f8f282c86b354773a07e2115d4ba47d3":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"f71a211eeb614339bf927e589faff000":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"4ffc829ccbe844c48b9d3efa068cd8bd":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"da29fd092f2f4d369d3d4418cf415b09":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_4d8ecb55540e4e50979afe5746d53323","IPY_MODEL_12ad1136a67240cc93b312e777332a18","IPY_MODEL_0f70760e8301479b9a79c790142e2839"],"layout":"IPY_MODEL_9482fa65f2714e0ca5a0d5b752202a6c"}},"4d8ecb55540e4e50979afe5746d53323":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_6aedf7ad6fb84b23808d48323601af11","placeholder":"​","style":"IPY_MODEL_88f16a3e22264ad9911affd376939216","value":"100%"}},"12ad1136a67240cc93b312e777332a18":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_fe726888906e4fc3b9d19744a67b6365","max":50,"min":0,"orientation":"horizontal","style":"IPY_MODEL_9d5e17e4405344eb84dc06670dc93fe1","value":50}},"0f70760e8301479b9a79c790142e2839":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_83e0adc0be684464a124f4348be4dbad","placeholder":"​","style":"IPY_MODEL_8f2f66b2182442a2ad5be4fc200d7136","value":" 50/50 [00:47&lt;00:00,  1.01it/s]"}},"9482fa65f2714e0ca5a0d5b752202a6c":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"6aedf7ad6fb84b23808d48323601af11":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"88f16a3e22264ad9911affd376939216":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"fe726888906e4fc3b9d19744a67b6365":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"9d5e17e4405344eb84dc06670dc93fe1":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"83e0adc0be684464a124f4348be4dbad":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"8f2f66b2182442a2ad5be4fc200d7136":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"dfeb5ee80e9e4cf9b67acc7c3f37f04e":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_0d05bbf6b281415e8c1c3659312a957e","IPY_MODEL_bbfdf004a5e146ea933235ddbfcfca1a","IPY_MODEL_8830c389341f48b89158bd9ce6d15693"],"layout":"IPY_MODEL_6c96055297954301a8efae14b139d884"}},"0d05bbf6b281415e8c1c3659312a957e":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_66677d54e5eb4406ae2372769dc3520d","placeholder":"​","style":"IPY_MODEL_1ecf8b408e884f77a8dfa37e4f601ef0","value":"100%"}},"bbfdf004a5e146ea933235ddbfcfca1a":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_6651ad41c06b4a28bc72d1b6525eb50f","max":50,"min":0,"orientation":"horizontal","style":"IPY_MODEL_d4b03f151205485a996662aedf6be593","value":50}},"8830c389341f48b89158bd9ce6d15693":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_5622bf0757ff436c9714d95a9d2de88d","placeholder":"​","style":"IPY_MODEL_898a3625a4174672a44a3fd1daef54f7","value":" 50/50 [00:48&lt;00:00,  1.03it/s]"}},"6c96055297954301a8efae14b139d884":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"66677d54e5eb4406ae2372769dc3520d":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"1ecf8b408e884f77a8dfa37e4f601ef0":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"6651ad41c06b4a28bc72d1b6525eb50f":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d4b03f151205485a996662aedf6be593":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"5622bf0757ff436c9714d95a9d2de88d":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"898a3625a4174672a44a3fd1daef54f7":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"fae24b3d5df848f5b56385c47a04bde6":{"model_module":"@jupyter-widgets/controls","model_name":"HBoxModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HBoxModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HBoxView","box_style":"","children":["IPY_MODEL_85be95a81704447f8cc17ae351892c3f","IPY_MODEL_2be5d278af5842c189be31d9663716d7","IPY_MODEL_d4cfc549b52c4e2ea8025a57077962cc"],"layout":"IPY_MODEL_aba1a2559e1d43f5aef19ae006932419"}},"85be95a81704447f8cc17ae351892c3f":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_3c055bafe9fd418b9705f86d495d432b","placeholder":"​","style":"IPY_MODEL_cb4009eaacde42f8af413de493e9b286","value":"100%"}},"2be5d278af5842c189be31d9663716d7":{"model_module":"@jupyter-widgets/controls","model_name":"FloatProgressModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"FloatProgressModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"ProgressView","bar_style":"success","description":"","description_tooltip":null,"layout":"IPY_MODEL_e7df3bd1d12241918a7771a2ce7e1cc4","max":50,"min":0,"orientation":"horizontal","style":"IPY_MODEL_470d375f600a440bab44ed1440c5d1b7","value":50}},"d4cfc549b52c4e2ea8025a57077962cc":{"model_module":"@jupyter-widgets/controls","model_name":"HTMLModel","model_module_version":"1.5.0","state":{"_dom_classes":[],"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"HTMLModel","_view_count":null,"_view_module":"@jupyter-widgets/controls","_view_module_version":"1.5.0","_view_name":"HTMLView","description":"","description_tooltip":null,"layout":"IPY_MODEL_bb82121f9a8445e7b59d4214584df23f","placeholder":"​","style":"IPY_MODEL_d87eb80215234080939bc7774e101642","value":" 50/50 [00:48&lt;00:00,  1.02it/s]"}},"aba1a2559e1d43f5aef19ae006932419":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"3c055bafe9fd418b9705f86d495d432b":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"cb4009eaacde42f8af413de493e9b286":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}},"e7df3bd1d12241918a7771a2ce7e1cc4":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"470d375f600a440bab44ed1440c5d1b7":{"model_module":"@jupyter-widgets/controls","model_name":"ProgressStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"ProgressStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","bar_color":null,"description_width":""}},"bb82121f9a8445e7b59d4214584df23f":{"model_module":"@jupyter-widgets/base","model_name":"LayoutModel","model_module_version":"1.2.0","state":{"_model_module":"@jupyter-widgets/base","_model_module_version":"1.2.0","_model_name":"LayoutModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"LayoutView","align_content":null,"align_items":null,"align_self":null,"border":null,"bottom":null,"display":null,"flex":null,"flex_flow":null,"grid_area":null,"grid_auto_columns":null,"grid_auto_flow":null,"grid_auto_rows":null,"grid_column":null,"grid_gap":null,"grid_row":null,"grid_template_areas":null,"grid_template_columns":null,"grid_template_rows":null,"height":null,"justify_content":null,"justify_items":null,"left":null,"margin":null,"max_height":null,"max_width":null,"min_height":null,"min_width":null,"object_fit":null,"object_position":null,"order":null,"overflow":null,"overflow_x":null,"overflow_y":null,"padding":null,"right":null,"top":null,"visibility":null,"width":null}},"d87eb80215234080939bc7774e101642":{"model_module":"@jupyter-widgets/controls","model_name":"DescriptionStyleModel","model_module_version":"1.5.0","state":{"_model_module":"@jupyter-widgets/controls","_model_module_version":"1.5.0","_model_name":"DescriptionStyleModel","_view_count":null,"_view_module":"@jupyter-widgets/base","_view_module_version":"1.2.0","_view_name":"StyleView","description_width":""}}}}},"nbformat":4,"nbformat_minor":0}