├── .gitignore ├── README.md ├── Test comparison for np vstack.ipynb ├── alpha_visualization- Flickr30k.ipynb ├── alpha_visualization.ipynb ├── capgen.py ├── coco.py ├── data └── flickr30k │ ├── gen_caps.py │ └── results_20130124.token ├── evaluate_coco.py ├── evaluate_flickr30k.py ├── evaluate_flickr8k.py ├── flickr30k.py ├── flickr8k.py ├── generate_caps.py ├── generate_caps_single.py ├── generate_caps_single_coco.py ├── homogeneous_data.py ├── make_annotations.py ├── make_dic.py ├── make_dictionary.py ├── make_flickr_data.py ├── metrics.py ├── optimizers.py ├── prepare_caffe_and_dictionary_coco.ipynb ├── prepare_caffe_and_dictionary_flickr30k.ipynb ├── prepare_caffe_and_dictionary_flickr8k.ipynb ├── prepare_coco.py ├── prepare_flickr30k.py ├── prepare_flickr30k_speed.ipynb ├── prepare_flickr8k.py ├── prepare_flickr8k_model.ipynb ├── prepare_flickr8k_speed.ipynb ├── prepare_model_coco.py ├── preprocess.sh ├── ref ├── 30k │ ├── all │ │ ├── reference.dev.all │ │ └── reference.test.all │ ├── dev │ │ ├── reference0 │ │ ├── reference1 │ │ ├── reference2 │ │ ├── reference3 │ │ └── reference4 │ └── test │ │ ├── reference0 │ │ ├── reference1 │ │ ├── reference2 │ │ ├── reference3 │ │ └── reference4 ├── 8k │ ├── all │ │ ├── reference.dev.all │ │ └── reference.test.all │ ├── dev │ │ ├── reference0 │ │ ├── reference1 │ │ ├── reference2 │ │ ├── reference3 │ │ └── reference4 │ └── test │ │ ├── reference0 │ │ ├── reference1 │ │ ├── reference2 │ │ ├── reference3 │ │ └── reference4 └── coco │ ├── all │ ├── reference.dev.all │ └── reference.test.all │ ├── dev │ ├── reference0 │ ├── reference1 │ ├── reference2 │ ├── reference3 │ └── reference4 │ └── test │ ├── reference0 │ ├── reference1 │ ├── reference2 │ ├── reference3 │ └── reference4 ├── result2 └── .dev.txt ├── save_dic.py ├── score.py ├── splits ├── coco_restval.txt ├── coco_test.txt ├── coco_train.txt └── coco_val.txt ├── train.py └── util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/README.md -------------------------------------------------------------------------------- /Test comparison for np vstack.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/Test comparison for np vstack.ipynb -------------------------------------------------------------------------------- /alpha_visualization- Flickr30k.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/alpha_visualization- Flickr30k.ipynb -------------------------------------------------------------------------------- /alpha_visualization.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/alpha_visualization.ipynb -------------------------------------------------------------------------------- /capgen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/capgen.py -------------------------------------------------------------------------------- /coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/coco.py -------------------------------------------------------------------------------- /data/flickr30k/gen_caps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/data/flickr30k/gen_caps.py -------------------------------------------------------------------------------- /data/flickr30k/results_20130124.token: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/data/flickr30k/results_20130124.token -------------------------------------------------------------------------------- /evaluate_coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/evaluate_coco.py -------------------------------------------------------------------------------- /evaluate_flickr30k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/evaluate_flickr30k.py -------------------------------------------------------------------------------- /evaluate_flickr8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/evaluate_flickr8k.py -------------------------------------------------------------------------------- /flickr30k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/flickr30k.py -------------------------------------------------------------------------------- /flickr8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/flickr8k.py -------------------------------------------------------------------------------- /generate_caps.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/generate_caps.py -------------------------------------------------------------------------------- /generate_caps_single.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/generate_caps_single.py -------------------------------------------------------------------------------- /generate_caps_single_coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/generate_caps_single_coco.py -------------------------------------------------------------------------------- /homogeneous_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/homogeneous_data.py -------------------------------------------------------------------------------- /make_annotations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/make_annotations.py -------------------------------------------------------------------------------- /make_dic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/make_dic.py -------------------------------------------------------------------------------- /make_dictionary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/make_dictionary.py -------------------------------------------------------------------------------- /make_flickr_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/make_flickr_data.py -------------------------------------------------------------------------------- /metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/metrics.py -------------------------------------------------------------------------------- /optimizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/optimizers.py -------------------------------------------------------------------------------- /prepare_caffe_and_dictionary_coco.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_caffe_and_dictionary_coco.ipynb -------------------------------------------------------------------------------- /prepare_caffe_and_dictionary_flickr30k.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_caffe_and_dictionary_flickr30k.ipynb -------------------------------------------------------------------------------- /prepare_caffe_and_dictionary_flickr8k.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_caffe_and_dictionary_flickr8k.ipynb -------------------------------------------------------------------------------- /prepare_coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_coco.py -------------------------------------------------------------------------------- /prepare_flickr30k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_flickr30k.py -------------------------------------------------------------------------------- /prepare_flickr30k_speed.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_flickr30k_speed.ipynb -------------------------------------------------------------------------------- /prepare_flickr8k.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_flickr8k.py -------------------------------------------------------------------------------- /prepare_flickr8k_model.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_flickr8k_model.ipynb -------------------------------------------------------------------------------- /prepare_flickr8k_speed.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_flickr8k_speed.ipynb -------------------------------------------------------------------------------- /prepare_model_coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/prepare_model_coco.py -------------------------------------------------------------------------------- /preprocess.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/preprocess.sh -------------------------------------------------------------------------------- /ref/30k/all/reference.dev.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/all/reference.dev.all -------------------------------------------------------------------------------- /ref/30k/all/reference.test.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/all/reference.test.all -------------------------------------------------------------------------------- /ref/30k/dev/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/dev/reference0 -------------------------------------------------------------------------------- /ref/30k/dev/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/dev/reference1 -------------------------------------------------------------------------------- /ref/30k/dev/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/dev/reference2 -------------------------------------------------------------------------------- /ref/30k/dev/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/dev/reference3 -------------------------------------------------------------------------------- /ref/30k/dev/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/dev/reference4 -------------------------------------------------------------------------------- /ref/30k/test/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/test/reference0 -------------------------------------------------------------------------------- /ref/30k/test/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/test/reference1 -------------------------------------------------------------------------------- /ref/30k/test/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/test/reference2 -------------------------------------------------------------------------------- /ref/30k/test/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/test/reference3 -------------------------------------------------------------------------------- /ref/30k/test/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/30k/test/reference4 -------------------------------------------------------------------------------- /ref/8k/all/reference.dev.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/all/reference.dev.all -------------------------------------------------------------------------------- /ref/8k/all/reference.test.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/all/reference.test.all -------------------------------------------------------------------------------- /ref/8k/dev/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/dev/reference0 -------------------------------------------------------------------------------- /ref/8k/dev/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/dev/reference1 -------------------------------------------------------------------------------- /ref/8k/dev/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/dev/reference2 -------------------------------------------------------------------------------- /ref/8k/dev/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/dev/reference3 -------------------------------------------------------------------------------- /ref/8k/dev/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/dev/reference4 -------------------------------------------------------------------------------- /ref/8k/test/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/test/reference0 -------------------------------------------------------------------------------- /ref/8k/test/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/test/reference1 -------------------------------------------------------------------------------- /ref/8k/test/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/test/reference2 -------------------------------------------------------------------------------- /ref/8k/test/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/test/reference3 -------------------------------------------------------------------------------- /ref/8k/test/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/8k/test/reference4 -------------------------------------------------------------------------------- /ref/coco/all/reference.dev.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/all/reference.dev.all -------------------------------------------------------------------------------- /ref/coco/all/reference.test.all: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/all/reference.test.all -------------------------------------------------------------------------------- /ref/coco/dev/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/dev/reference0 -------------------------------------------------------------------------------- /ref/coco/dev/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/dev/reference1 -------------------------------------------------------------------------------- /ref/coco/dev/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/dev/reference2 -------------------------------------------------------------------------------- /ref/coco/dev/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/dev/reference3 -------------------------------------------------------------------------------- /ref/coco/dev/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/dev/reference4 -------------------------------------------------------------------------------- /ref/coco/test/reference0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/test/reference0 -------------------------------------------------------------------------------- /ref/coco/test/reference1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/test/reference1 -------------------------------------------------------------------------------- /ref/coco/test/reference2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/test/reference2 -------------------------------------------------------------------------------- /ref/coco/test/reference3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/test/reference3 -------------------------------------------------------------------------------- /ref/coco/test/reference4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/ref/coco/test/reference4 -------------------------------------------------------------------------------- /result2/.dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/result2/.dev.txt -------------------------------------------------------------------------------- /save_dic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/save_dic.py -------------------------------------------------------------------------------- /score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/score.py -------------------------------------------------------------------------------- /splits/coco_restval.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/splits/coco_restval.txt -------------------------------------------------------------------------------- /splits/coco_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/splits/coco_test.txt -------------------------------------------------------------------------------- /splits/coco_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/splits/coco_train.txt -------------------------------------------------------------------------------- /splits/coco_val.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/splits/coco_val.txt -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/train.py -------------------------------------------------------------------------------- /util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Lorne0/arctic-captions/HEAD/util.py --------------------------------------------------------------------------------