any tutorial for the codes? I can hardly understand all these files.
I run the ipynb cells and can't find model_name.npz. It seems dev_list and image_path also need be specified.
datasets = {'flickr8k': (flickr8k.load_data, flickr8k.prepare_data),
'flickr30k': (flickr30k.load_data, flickr30k.prepare_data),
'coco': (coco.load_data, coco.prepare_data)}
location of the model file, the pkl file should be named "model_name.npz.pkl"
model= 'model_name.npz'
location of the devset split file like the ones in /splits
dev_list = './splits/coco_val.txt'
image_path = './path_to_coco_dev_image/'
load model model_options
with open('%s.pkl'%model, 'rb') as f:
options = pkl.load(f)
print 'Loading: ' + options['dataset']
flist = []
with open(dev_list, 'r') as f:
for l in f:
flist.append(l.strip())
any tutorial for the codes? I can hardly understand all these files.
I run the ipynb cells and can't find model_name.npz. It seems dev_list and image_path also need be specified.
datasets = {'flickr8k': (flickr8k.load_data, flickr8k.prepare_data),
'flickr30k': (flickr30k.load_data, flickr30k.prepare_data),
'coco': (coco.load_data, coco.prepare_data)}
location of the model file, the pkl file should be named "model_name.npz.pkl"
model= 'model_name.npz'
location of the devset split file like the ones in /splits
dev_list = './splits/coco_val.txt'
image_path = './path_to_coco_dev_image/'
load model model_options
with open('%s.pkl'%model, 'rb') as f:
options = pkl.load(f)
print 'Loading: ' + options['dataset']
flist = []
with open(dev_list, 'r') as f:
for l in f:
flist.append(l.strip())