Spaces:
Runtime error
Runtime error
merge
Browse files- .gitattributes +2 -0
- app.py +6 -6
- images/bovw/{librarians.png β bookshelves.png} +2 -2
- images/bovw/gibberish.png +3 -0
- images/identities/cluster_0_of_24_black_woman.JPG +0 -0
- images/identities/cluster_12_of_24_white_nonbinary.JPG +0 -0
- images/identities/cluster_13_of_24_nonbinary_woman_black.JPG +0 -0
- images/identities/cluster_15_of_24_woman_white.JPG +0 -0
- images/identities/cluster_16_of_24_black_unmarked_man.JPG +0 -0
- images/identities/cluster_18_of_24_hispanic_nonbinary.JPG +0 -0
- images/identities/cluster_19_of_24_unmarked_white_unmarked_man.JPG +0 -0
- images/identities/cluster_1_of_24_south_asian_woman_nonbinary.JPG +0 -0
- images/identities/cluster_20_of_24_south_east_asian_man.JPG +0 -0
- images/identities/cluster_23_of_24_woman_nonbinbary_indigenous.JPG +0 -0
- images/identities/cluster_2_of_24_latinx_woman.JPG +0 -0
- images/identities/cluster_3_of_24_native_american_stereetotypical.JPG +0 -0
- images/identities/cluster_4_of_24_south_asian_hispanic_men.JPG +0 -0
- images/identities/cluster_5_of_24_white_unmarked_latinx_man.JPG +0 -0
- images/identities/cluster_6_of_24_black_man.JPG +0 -0
- images/identities/cluster_7_of_24_pacific_indigenous_man_nonbinary.JPG +0 -0
- images/identities/cluster_8_of_24_indigenous_nonbinary.JPG +0 -0
.gitattributes
CHANGED
@@ -38,3 +38,5 @@ images/biasexplorer/painter[[:space:]](Dalle2[[:space:]]vs[[:space:]]SD2).png fi
|
|
38 |
images/biasexplorer/waitress[[:space:]](Dalle2[[:space:]]vs[[:space:]]SD1.4).png filter=lfs diff=lfs merge=lfs -text
|
39 |
images/bovw/librarians.png filter=lfs diff=lfs merge=lfs -text
|
40 |
images/colorfulness/nativeamerican_man.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
38 |
images/biasexplorer/waitress[[:space:]](Dalle2[[:space:]]vs[[:space:]]SD1.4).png filter=lfs diff=lfs merge=lfs -text
|
39 |
images/bovw/librarians.png filter=lfs diff=lfs merge=lfs -text
|
40 |
images/colorfulness/nativeamerican_man.png filter=lfs diff=lfs merge=lfs -text
|
41 |
+
images/bovw/bookshelves.png filter=lfs diff=lfs merge=lfs -text
|
42 |
+
images/bovw/gibberish.png filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -205,12 +205,12 @@ with gr.Blocks() as demo:
|
|
205 |
gr.HTML(
|
206 |
"""
|
207 |
<h4>Bag of Visual Words</h4>
|
208 |
-
<p style="margin-bottom: 14px; font-size: 100%"> Another way of providing the means for a structured traversal of the dataset is a nearest-neighbor explorer based on visual features provided by an image's SIFT features, which we quantize into a visual vocabulary to represent the entire image dataset as a TF-IDF matrix. These tools are especially useful in honing in on stereotypical content that is often encoded visually, but also failure modes of the model such as the misinterpetation of the "stocker" profession as an imagined dog-breed. The screenshot to the right shows how SIFT visual patterns tend to cluster together, namely in this instance the
|
209 |
-
"""
|
210 |
-
)
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
### All of the tools created as part of this project:
|
215 |
"""
|
216 |
)
|
|
|
205 |
gr.HTML(
|
206 |
"""
|
207 |
<h4>Bag of Visual Words</h4>
|
208 |
+
<p style="margin-bottom: 14px; font-size: 100%"> Another way of providing the means for a structured traversal of the dataset is a nearest-neighbor explorer based on visual features provided by an image's SIFT features, which we quantize into a visual vocabulary to represent the entire image dataset as a TF-IDF matrix. These tools are especially useful in honing in on stereotypical content that is often encoded visually, but also failure modes of the model such as the misinterpetation of the "stocker" profession as an imagined dog-breed. The screenshot to the right shows how SIFT visual patterns tend to cluster together, namely in this instance the booksheves in the background, or the gibberish pseudo-English text that often plagues TTI systems. </p>
|
209 |
+
""")
|
210 |
+
with gr.Column():
|
211 |
+
gr.Image("images/bovw/bookshelves.png")
|
212 |
+
gr.Image("images/bovw/gibberish.png")
|
213 |
+
gr.Markdown("""
|
214 |
### All of the tools created as part of this project:
|
215 |
"""
|
216 |
)
|
images/bovw/{librarians.png β bookshelves.png}
RENAMED
File without changes
|
images/bovw/gibberish.png
ADDED
Git LFS Details
|
images/identities/cluster_0_of_24_black_woman.JPG
ADDED
images/identities/cluster_12_of_24_white_nonbinary.JPG
ADDED
images/identities/cluster_13_of_24_nonbinary_woman_black.JPG
ADDED
images/identities/cluster_15_of_24_woman_white.JPG
ADDED
images/identities/cluster_16_of_24_black_unmarked_man.JPG
ADDED
images/identities/cluster_18_of_24_hispanic_nonbinary.JPG
ADDED
images/identities/cluster_19_of_24_unmarked_white_unmarked_man.JPG
ADDED
images/identities/cluster_1_of_24_south_asian_woman_nonbinary.JPG
ADDED
images/identities/cluster_20_of_24_south_east_asian_man.JPG
ADDED
images/identities/cluster_23_of_24_woman_nonbinbary_indigenous.JPG
ADDED
images/identities/cluster_2_of_24_latinx_woman.JPG
ADDED
images/identities/cluster_3_of_24_native_american_stereetotypical.JPG
ADDED
images/identities/cluster_4_of_24_south_asian_hispanic_men.JPG
ADDED
images/identities/cluster_5_of_24_white_unmarked_latinx_man.JPG
ADDED
images/identities/cluster_6_of_24_black_man.JPG
ADDED
images/identities/cluster_7_of_24_pacific_indigenous_man_nonbinary.JPG
ADDED
images/identities/cluster_8_of_24_indigenous_nonbinary.JPG
ADDED