You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cd pytorch-tutorial/tutorials/09 - Image Captioning
9
12
```
@@ -19,7 +22,8 @@ $ ./donwload.sh
19
22
#### 3. Preprocessing
20
23
21
24
```bash
22
-
$ python vocab.py
25
+
$ python build_vocab.py
26
+
$ python resize.py
23
27
```
24
28
25
29
#### 4. Train the model
@@ -32,11 +36,11 @@ $ python train.py
32
36
33
37
34
38
```bash
35
-
$ python sample.py --image=sample_image.jpg
39
+
$ python sample.py --image='path_for_image'
36
40
```
37
41
38
42
<br>
39
43
40
44
## Pretrained model
41
45
42
-
If you do not want to train the model yourself, you can use a pretrained model. I have provided the pretrained model as a zip file. You can download the file [here](https://www.dropbox.com/s/cngzozkk73imjdh/trained_model.zip?dl=0) and extract it to `model` directory.
46
+
If you do not want to train the model yourself, you can use a pretrained model. I have provided the pretrained model as a zip file. You can download the file [here](https://www.dropbox.com/s/btubjo73dc953zo/trained_model.egg?dl=0) and extract it to `./models/` directory.
0 commit comments