vinid commited on
Commit
1e05f49
β€’
1 Parent(s): 72d91e5

localization updates

Browse files
Files changed (1) hide show
  1. localization.py +6 -0
localization.py CHANGED
@@ -111,6 +111,12 @@ def app():
111
  The location of the object is computed by masking different areas of the image and looking at
112
  how the similarity to the image description changes. If you want to have a look at the implementation in details
113
  you can find it in [this Colab](https://colab.research.google.com/drive/10neENr1DEAFq_GzsLqBDo0gZ50hOhkOr?usp=sharing).
 
 
 
 
 
 
114
 
115
  🀌 Italian mode on! 🀌
116
 
 
111
  The location of the object is computed by masking different areas of the image and looking at
112
  how the similarity to the image description changes. If you want to have a look at the implementation in details
113
  you can find it in [this Colab](https://colab.research.google.com/drive/10neENr1DEAFq_GzsLqBDo0gZ50hOhkOr?usp=sharing).
114
+
115
+ On the two parameters: the pixel size defines the resolution of the localization map. A pixel size of 15 means
116
+ that 15 pixels in the original image will form 1 pixel in the heatmap. The refinement
117
+ iterations are just a cheap operation to reduce background noise. Too few iterations will leave a lot of noise.
118
+ Too many will shrink the heatmap too much.
119
+
120
 
121
  🀌 Italian mode on! 🀌
122