Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Jupyter Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
|
@@ -94,7 +94,8 @@
|
|
| 94 |
"ref = torch.zeros(dim).to(dtype = dot_dtype)"
|
| 95 |
],
|
| 96 |
"metadata": {
|
| 97 |
-
"id": "TC5lMJrS1HCC"
|
|
|
|
| 98 |
},
|
| 99 |
"execution_count": null,
|
| 100 |
"outputs": []
|
|
@@ -333,7 +334,7 @@
|
|
| 333 |
"metadata": {
|
| 334 |
"id": "IqUsiQw2HU2C"
|
| 335 |
},
|
| 336 |
-
"execution_count":
|
| 337 |
"outputs": []
|
| 338 |
},
|
| 339 |
{
|
|
@@ -406,7 +407,7 @@
|
|
| 406 |
"metadata": {
|
| 407 |
"id": "I_-GOwFPKkha"
|
| 408 |
},
|
| 409 |
-
"execution_count":
|
| 410 |
"outputs": []
|
| 411 |
},
|
| 412 |
{
|
|
@@ -484,6 +485,7 @@
|
|
| 484 |
"show_local_reference = True # @param {type:\"boolean\"}\n",
|
| 485 |
"show_encoding = True # @param {type:\"boolean\"}\n",
|
| 486 |
"\n",
|
|
|
|
| 487 |
"_ref = load_file('reference.safetensors' )\n",
|
| 488 |
"ref = _ref['weights'].to(dot_dtype)\n",
|
| 489 |
"\n",
|
|
@@ -551,7 +553,7 @@
|
|
| 551 |
"metadata": {
|
| 552 |
"id": "Oxi6nOyrUTAe"
|
| 553 |
},
|
| 554 |
-
"execution_count":
|
| 555 |
"outputs": []
|
| 556 |
},
|
| 557 |
{
|
|
|
|
| 94 |
"ref = torch.zeros(dim).to(dtype = dot_dtype)"
|
| 95 |
],
|
| 96 |
"metadata": {
|
| 97 |
+
"id": "TC5lMJrS1HCC",
|
| 98 |
+
"cellView": "form"
|
| 99 |
},
|
| 100 |
"execution_count": null,
|
| 101 |
"outputs": []
|
|
|
|
| 334 |
"metadata": {
|
| 335 |
"id": "IqUsiQw2HU2C"
|
| 336 |
},
|
| 337 |
+
"execution_count": null,
|
| 338 |
"outputs": []
|
| 339 |
},
|
| 340 |
{
|
|
|
|
| 407 |
"metadata": {
|
| 408 |
"id": "I_-GOwFPKkha"
|
| 409 |
},
|
| 410 |
+
"execution_count": null,
|
| 411 |
"outputs": []
|
| 412 |
},
|
| 413 |
{
|
|
|
|
| 485 |
"show_local_reference = True # @param {type:\"boolean\"}\n",
|
| 486 |
"show_encoding = True # @param {type:\"boolean\"}\n",
|
| 487 |
"\n",
|
| 488 |
+
"%cd /content/\n",
|
| 489 |
"_ref = load_file('reference.safetensors' )\n",
|
| 490 |
"ref = _ref['weights'].to(dot_dtype)\n",
|
| 491 |
"\n",
|
|
|
|
| 553 |
"metadata": {
|
| 554 |
"id": "Oxi6nOyrUTAe"
|
| 555 |
},
|
| 556 |
+
"execution_count": null,
|
| 557 |
"outputs": []
|
| 558 |
},
|
| 559 |
{
|