Skip to content

Commit b82b5f2

Browse files
committed
typo in tutorial
1 parent 46bb9e1 commit b82b5f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorials/Deep Feature Factorizations.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"And some of the pixels could get high values in several heatmaps, for example different categories of cats.\n",
7272
"This is a lot of information to unpack and not very effecient.\n",
7373
"\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",
7575
"\n",
7676
"## Deep Feature Factorization For Concept Discovery\n",
7777
"\n",
@@ -98,7 +98,7 @@
9898
"\n",
9999
"- H (after reshaping it back to 2D activations) contains how the pixels corresponds with the different concepts.\n",
100100
"\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",
102102
"This gives us a way of automatically discovering concepts in a dataset, and performing tasks like co-localization, further detailed in the paper.\n",
103103
"\n",
104104
"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,10 +122,10 @@
122122
"But we have a problem - the same pixel can have non zero values from different concepts.\n",
123123
"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",
124124
"\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",
126126
"\n",
127127
"\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."
129129
]
130130
},
131131
{

0 commit comments

Comments
 (0)