Skip to content

Commit 30e90c3

Browse files
authored
Update README.md
1 parent 1d21c24 commit 30e90c3

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,23 @@ Questions, suggestions, or corrections can be posted as issues.
2020

2121
# Objective
2222

23-
> To build a model that can generate a descriptive caption for an image we provide it.
24-
25-
Moreover, this model should incorporate an _attention_ mechanism, whereby it concentrates on the relevant parts of the image as it generates a caption.
23+
**To build a model that can generate a descriptive caption for an image we provide it.**
2624

27-
In the interest of keeping things simple, let's choose to implement the [_Show, Attend, and Tell_](https://arxiv.org/abs/1502.03044) paper. This is by no means the current state-of-the-art, but is a suitable place to begin.
25+
In the interest of keeping things simple, let's choose to implement the [_Show, Attend, and Tell_](https://arxiv.org/abs/1502.03044) paper. This is by no means the current state-of-the-art, but is still pretty darn amazing.
2826

29-
The most interesting thing about this model is it learns _where_ to look completely on its own. As it generates captions, you can see the model's gaze shifting from object to object.
27+
This model learns _where_ to look.
3028

31-
Here are some results of the code on _test_ images not seen during training or validation:
29+
As you generate a caption, word by word, you can see the the model's gaze shifting across the image.
30+
31+
This is possible because of its _Attention_ mechanism, which allows it to focus on the part of the image most relevant to the word it is going to utter next.
32+
33+
Here are some captions generated on _test_ images not seen during training or validation:
3234

3335
---
3436

3537
![](./img/boats.png)
3638

37-
Notice how the model is looking at the boats when it says `boats`, and the sand when it says `the` `beach`.
39+
Notice how the model is looking at the boats when it says `boats`, and the sand when it says `the beach`.
3840

3941
---
4042

0 commit comments

Comments
 (0)