File size: 5,528 Bytes
12e1035 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
{
"cells": [
{
"cell_type": "markdown",
"id": "c52c6845-9709-40da-af44-204b5e6028ff",
"metadata": {
"tags": []
},
"source": [
"# LoraMerge主服务"
]
},
{
"cell_type": "markdown",
"id": "183b9ffc-a9a4-4e10-9db7-71c6043e5726",
"metadata": {},
"source": [
"/mnt/workspace/Photo/Like "
]
},
{
"cell_type": "markdown",
"id": "f479dfa4-a83d-482a-a997-33d0d9e60e8d",
"metadata": {},
"source": [
"/mnt/workspace/Photo/Like_Upscale"
]
},
{
"cell_type": "markdown",
"id": "43484b49-ea69-4b53-a427-1e3b8d161924",
"metadata": {
"tags": []
},
"source": [
"## 移动放大的图片"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "5dabdee9-80f9-486e-bfa2-4fbb98720e77",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"!python /mnt/workspace/MergeTools.py --ClearLike --move_upscale"
]
},
{
"cell_type": "markdown",
"id": "dd5b1b73-5af4-4de9-a1cd-304ee544d29a",
"metadata": {
"tags": []
},
"source": [
"## 移动模型+打包模型+上传模型"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0f65a107-16f1-4a1b-b4f4-4724d63d799e",
"metadata": {
"ExecutionIndicator": {
"show": true
},
"tags": []
},
"outputs": [],
"source": [
"!python /mnt/workspace/MergeTools.py --move_and_delete_like_upscale --move_files_by_date --packup\n",
"#--upload_to_modelscope \n",
"#--clear_LoraUpload_model "
]
},
{
"cell_type": "markdown",
"id": "18183c3d-ba6c-4bcd-ba32-256b1ac3c247",
"metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": []
},
"source": [
"# LoraMerge子服务"
]
},
{
"cell_type": "markdown",
"id": "4217efe3-35c3-4daf-a1d6-eb84534074c3",
"metadata": {},
"source": [
"## 按日期创建文件夹"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b92d72eb-42ce-403f-96e1-0eac43fa08d6",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --create_directories"
]
},
{
"cell_type": "markdown",
"id": "7c27ec5f-0209-4d1a-a3b7-05ae1a7dd063",
"metadata": {},
"source": [
"## 删除喜欢的图"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "c7b1231e-f0c2-466e-b109-9ba5db58bb73",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --ClearLike"
]
},
{
"cell_type": "markdown",
"id": "c9776f88-118f-4c35-a054-d63081ce4d19",
"metadata": {},
"source": [
"## 移动放大的图"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "ecfa7c64-ea3a-4189-a74e-3434f9ae72d5",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --move_upscale"
]
},
{
"cell_type": "markdown",
"id": "6f885ffe-3963-48b3-836c-cf713a929c23",
"metadata": {},
"source": [
"## 将放大的图移动至父级目录"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "12c524b8-7538-4daf-89fa-6794bfc06fdb",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --move_and_delete_like_upscale"
]
},
{
"cell_type": "markdown",
"id": "9e26008f-7ed7-4f67-87e1-b46f42490429",
"metadata": {},
"source": [
"## 移动模型至日期文件夹"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "0965d6f7-1bc7-4d6d-9c60-6837db657b99",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --move_files_by_date"
]
},
{
"cell_type": "markdown",
"id": "28118280-6c99-4609-84c5-13e17ecb5e2b",
"metadata": {},
"source": [
"## 删除Upload文件夹的模型"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "d85fbb24-f2dc-48c2-ad95-408e7a4bbbd6",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --clear_LoraUpload_model"
]
},
{
"cell_type": "markdown",
"id": "d6709532-dbfd-4040-adb5-c4a744eea2bc",
"metadata": {},
"source": [
"## 打包文件夹模型"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "2db503bb-d8fa-492d-91f4-a3cb7438f03d",
"metadata": {},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --packup"
]
},
{
"cell_type": "markdown",
"id": "4ce04e9d-960b-455e-9907-6cf58c0b3bea",
"metadata": {},
"source": [
"## 上传模型"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7d231066-6938-4faf-b30b-d4475a98f048",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"!python /mnt/workspace/stable-diffusion-webui/MergeTools.py --upload_to_modelscope"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
|