Update tester.py
Browse files
tester.py
CHANGED
@@ -17,11 +17,11 @@ class CaptionSampler(object):
|
|
17 |
def __init__(self):
|
18 |
# Default configuration values
|
19 |
self.args = {
|
20 |
-
"model_dir": "
|
21 |
-
"image_dir": "
|
22 |
-
"caption_json": "
|
23 |
-
"vocab_path": "
|
24 |
-
"file_lists": "
|
25 |
"load_model_path": "train_best_loss.pth.tar",
|
26 |
"resize": 224,
|
27 |
"cam_size": 224,
|
|
|
17 |
def __init__(self):
|
18 |
# Default configuration values
|
19 |
self.args = {
|
20 |
+
"model_dir": "",
|
21 |
+
"image_dir": "",
|
22 |
+
"caption_json": "",
|
23 |
+
"vocab_path": "vocab.pkl",
|
24 |
+
"file_lists": "",
|
25 |
"load_model_path": "train_best_loss.pth.tar",
|
26 |
"resize": 224,
|
27 |
"cam_size": 224,
|