rename to prototypes
Browse files
app.py
CHANGED
|
@@ -329,9 +329,9 @@ tabbed_examples = {
|
|
| 329 |
"Pup4": "pup4.jpeg",
|
| 330 |
"Pup5": "pup5.jpg",
|
| 331 |
},
|
| 332 |
-
"
|
| 333 |
-
"Black & White": "#Black & White
|
| 334 |
-
"Fire": "#Fire
|
| 335 |
},
|
| 336 |
"Portraits": {
|
| 337 |
"Snoop": "Snoop Dogg.jpg",
|
|
@@ -521,10 +521,10 @@ A tool for exploring CLIP embedding space.
|
|
| 521 |
"""
|
| 522 |
My interest is to use CLIP for image/video understanding (see [CLIP_visual-spatial-reasoning](https://github.com/Sohojoe/CLIP_visual-spatial-reasoning).)
|
| 523 |
|
| 524 |
-
**Example #2** - adding black & white
|
| 525 |
|
| 526 |
* Add the image Pups->Pup4 on Input tab 1
|
| 527 |
-
* Add
|
| 528 |
* Set Input 2 embeddings power to 1.3
|
| 529 |
* Click the "Search Embedding Space" to see the results
|
| 530 |
* Note: You may need to play with the power with different source images
|
|
|
|
| 329 |
"Pup4": "pup4.jpeg",
|
| 330 |
"Pup5": "pup5.jpg",
|
| 331 |
},
|
| 332 |
+
"Prototypes": {
|
| 333 |
+
"Black & White": "#Black & White Embedding Prototype",
|
| 334 |
+
"Fire": "#Fire Embedding Prototype",
|
| 335 |
},
|
| 336 |
"Portraits": {
|
| 337 |
"Snoop": "Snoop Dogg.jpg",
|
|
|
|
| 521 |
"""
|
| 522 |
My interest is to use CLIP for image/video understanding (see [CLIP_visual-spatial-reasoning](https://github.com/Sohojoe/CLIP_visual-spatial-reasoning).)
|
| 523 |
|
| 524 |
+
**Example #2** - adding black & white embedding prototype
|
| 525 |
|
| 526 |
* Add the image Pups->Pup4 on Input tab 1
|
| 527 |
+
* Add Prototypes->Black&White on Input tab 2
|
| 528 |
* Set Input 2 embeddings power to 1.3
|
| 529 |
* Click the "Search Embedding Space" to see the results
|
| 530 |
* Note: You may need to play with the power with different source images
|