Upload fusion_t2i_CLIP_interrogator.ipynb
Browse files
Google Colab Notebooks/fusion_t2i_CLIP_interrogator.ipynb
CHANGED
@@ -413,7 +413,8 @@
|
|
413 |
"# @markdown ⏩ Skip item(s) containing the word\n",
|
414 |
"SKIP = '_ass , ass_' # @param {type:'string' , placeholder:'item1 , item2 , ...'}\n",
|
415 |
"\n",
|
416 |
-
"# @markdown ⚖️
|
|
|
417 |
"C = 0.5 # @param {type:\"slider\", min:0, max:1, step:0.01}\n",
|
418 |
"log_strength = 1 # @param {type:\"slider\", min:-5, max:5, step:0.01}\n",
|
419 |
"prompt_strength = math.pow(10 ,log_strength-1)\n",
|
|
|
413 |
"# @markdown ⏩ Skip item(s) containing the word\n",
|
414 |
"SKIP = '_ass , ass_' # @param {type:'string' , placeholder:'item1 , item2 , ...'}\n",
|
415 |
"\n",
|
416 |
+
"# @markdown ⚖️ How important is the prompt vs. the image? <br> <br>\n",
|
417 |
+
"# @markdown <div style = \"font-size: 10px; \"> sim_ref = (10^(log_strength-1)) * ( C* text_encoding + image_encoding*(1-C) ) </div> <br>\n",
|
418 |
"C = 0.5 # @param {type:\"slider\", min:0, max:1, step:0.01}\n",
|
419 |
"log_strength = 1 # @param {type:\"slider\", min:-5, max:5, step:0.01}\n",
|
420 |
"prompt_strength = math.pow(10 ,log_strength-1)\n",
|