Skip to content

Commit 95f8359

Browse files
committed
Update README.md
1 parent 95d34d4 commit 95f8359

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Finally, we need the VGG-19 ConvNet parameters. You can obtain them by running
7575

7676
wget https://s3.amazonaws.com/lasagne/recipes/pretrained/imagenet/vgg19.pkl
7777

78-
Note that this model is for non-commercial use only. Once you have all the materials, open `generate.py` and specify the locations of all of the models and style vectors that you downloaded.
78+
Note that this model is for non-commercial use only. Once you have all the materials, open `config.py` and specify the locations of all of the models and style vectors that you downloaded.
7979

8080
## Generating a story
8181

@@ -95,7 +95,7 @@ There are 2 knobs that can be tuned for generation: the number of retrieved capt
9595

9696
where k is the number of captions to condition on and bw is the beam width. These are reasonable defaults but playing around with these can give you very different outputs! The higher the beam width, the longer it takes to generate a story.
9797

98-
If you bias by song lyrics, you can turn on the lyric flag which will print the output in multiple lines by comma delimiting. `neural_storyteller.zip` contains an additional bias vector called `swift_style.npy` which is the mean of skip-thought vectors across Taylor Swift lyrics. If you point `path_to_posbias` to this vector in `generate.py`, you can generate captions in the style of Taylor Swift lyrics. For example:
98+
If you bias by song lyrics, you can turn on the lyric flag which will print the output in multiple lines by comma delimiting. `neural_storyteller.zip` contains an additional bias vector called `swift_style.npy` which is the mean of skip-thought vectors across Taylor Swift lyrics. If you point `path_to_posbias` to this vector in `config.py`, you can generate captions in the style of Taylor Swift lyrics. For example:
9999

100100
generate.story(z, './images/ex1.jpg', lyric=True)
101101

0 commit comments

Comments
 (0)