Skip to content

Commit 57afe85

Browse files
authored
Merge pull request yunjey#189 from haofanwang/patch-1
Update default path
2 parents 401b903 + 25b2685 commit 57afe85

File tree

1 file changed

+2
-2
lines changed
  • tutorials/03-advanced/image_captioning

1 file changed

+2
-2
lines changed

tutorials/03-advanced/image_captioning/sample.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def main(args):
6969
if __name__ == '__main__':
7070
parser = argparse.ArgumentParser()
7171
parser.add_argument('--image', type=str, required=True, help='input image for generating caption')
72-
parser.add_argument('--encoder_path', type=str, default='models/encoder-2-1000.ckpt', help='path for trained encoder')
73-
parser.add_argument('--decoder_path', type=str, default='models/decoder-2-1000.ckpt', help='path for trained decoder')
72+
parser.add_argument('--encoder_path', type=str, default='models/encoder-5-3000.pkl', help='path for trained encoder')
73+
parser.add_argument('--decoder_path', type=str, default='models/decoder-5-3000.pkl', help='path for trained decoder')
7474
parser.add_argument('--vocab_path', type=str, default='data/vocab.pkl', help='path for vocabulary wrapper')
7575

7676
# Model parameters (should be same as paramters in train.py)

0 commit comments

Comments
 (0)