Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
|
@@ -29,31 +29,9 @@
|
|
| 29 |
"cell_type": "code",
|
| 30 |
"execution_count": null,
|
| 31 |
"metadata": {
|
| 32 |
-
"id": "UEYEdzjgOEOE"
|
| 33 |
-
"colab": {
|
| 34 |
-
"base_uri": "https://localhost:8080/"
|
| 35 |
-
},
|
| 36 |
-
"outputId": "efa821e0-8c2d-4861-9d99-f08cacb2e85f"
|
| 37 |
},
|
| 38 |
-
"outputs": [
|
| 39 |
-
{
|
| 40 |
-
"output_type": "stream",
|
| 41 |
-
"name": "stdout",
|
| 42 |
-
"text": [
|
| 43 |
-
"/content\n",
|
| 44 |
-
"/content\n",
|
| 45 |
-
"Cloning into 'text-to-image-prompts'...\n",
|
| 46 |
-
"remote: Enumerating objects: 4504, done.\u001b[K\n",
|
| 47 |
-
"remote: Counting objects: 100% (4504/4504), done.\u001b[K\n",
|
| 48 |
-
"remote: Compressing objects: 100% (4029/4029), done.\u001b[K\n",
|
| 49 |
-
"remote: Total 4504 (delta 659), reused 2366 (delta 418), pack-reused 0 (from 0)\u001b[K\n",
|
| 50 |
-
"Receiving objects: 100% (4504/4504), 32.32 MiB | 3.25 MiB/s, done.\n",
|
| 51 |
-
"Resolving deltas: 100% (659/659), done.\n",
|
| 52 |
-
"Updating files: 100% (3062/3062), done.\n",
|
| 53 |
-
"Filtering content: 100% (768/768), 2.21 GiB | 48.63 MiB/s, done.\n"
|
| 54 |
-
]
|
| 55 |
-
}
|
| 56 |
-
],
|
| 57 |
"source": [
|
| 58 |
"# @title ✳️ Load/initialize values\n",
|
| 59 |
"#Imports\n",
|
|
@@ -365,7 +343,7 @@
|
|
| 365 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 366 |
"#--------#\n",
|
| 367 |
"\n",
|
| 368 |
-
"if
|
| 369 |
" url = '/content/text-to-image-prompts/artby'\n",
|
| 370 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 371 |
"#--------#\n",
|
|
|
|
| 29 |
"cell_type": "code",
|
| 30 |
"execution_count": null,
|
| 31 |
"metadata": {
|
| 32 |
+
"id": "UEYEdzjgOEOE"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
},
|
| 34 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
"source": [
|
| 36 |
"# @title ✳️ Load/initialize values\n",
|
| 37 |
"#Imports\n",
|
|
|
|
| 343 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 344 |
"#--------#\n",
|
| 345 |
"\n",
|
| 346 |
+
"if artby_prompts:\n",
|
| 347 |
" url = '/content/text-to-image-prompts/artby'\n",
|
| 348 |
" prompts , text_encodings, nA = append_from_url(prompts , text_encodings, nA , url , '')\n",
|
| 349 |
"#--------#\n",
|