|
71 | 71 | "And some of the pixels could get high values in several heatmaps, for example different categories of cats.\n",
|
72 | 72 | "This is a lot of information to unpack and not very effecient.\n",
|
73 | 73 | "\n",
|
74 |
| - "Could we think of a way to create just one visualization that summerizes what the model does for an image ?\n", |
| 74 | + "Could we think of a way to create just one visualization that summarizes what the model does for an image ?\n", |
75 | 75 | "\n",
|
76 | 76 | "## Deep Feature Factorization For Concept Discovery\n",
|
77 | 77 | "\n",
|
|
98 | 98 | "\n",
|
99 | 99 | "- H (after reshaping it back to 2D activations) contains how the pixels corresponds with the different concepts.\n",
|
100 | 100 | "\n",
|
101 |
| - "If we input a batch of several images, concepts that repeat accross the images will be computed.\n", |
| 101 | + "If we input a batch of several images, concepts that repeat across the images will be computed.\n", |
102 | 102 | "This gives us a way of automatically discovering concepts in a dataset, and performing tasks like co-localization, further detailed in the paper.\n",
|
103 | 103 | "\n",
|
104 | 104 | "However for our purposes now we will use a batch size of 1: we just want to detect the concepts detected in a single image.\n",
|
|
122 | 122 | "But we have a problem - the same pixel can have non zero values from different concepts.\n",
|
123 | 123 | "The strategy we will use here will be just to keep the concept that got a higher value in the normalized heatmap, meaning it's more important for it.\n",
|
124 | 124 | "\n",
|
125 |
| - "For every concept we will also show a legend with informative properties of these concepts: the categories that they score highest for.\n", |
| 125 | + "For every concept we will also show a legend with informative properties of that concept: the categories that they score highest for.\n", |
126 | 126 | "\n",
|
127 | 127 | "\n",
|
128 |
| - "To get started, lets load are model, and prepare input tensors." |
| 128 | + "To get started, let's load our model, and prepare input tensors." |
129 | 129 | ]
|
130 | 130 | },
|
131 | 131 | {
|
|
0 commit comments