├── .gitattributes ├── README.md ├── coco-caption ├── LICENSE ├── pyciderevalcap │ ├── __init__.py │ ├── cider │ │ ├── __init__.py │ │ ├── cider.py │ │ └── cider_scorer.py │ ├── ciderD │ │ ├── __init__.py │ │ ├── ciderD.py │ │ └── ciderD_scorer.py │ ├── eval.py │ └── tokenizer │ │ ├── __init__.py │ │ ├── ptbtokenizer.py │ │ └── stanford-corenlp-3.4.1.jar ├── pycocoevalcap │ ├── __init__.py │ ├── bleu │ │ ├── LICENSE │ │ ├── __init__.py │ │ ├── bleu.py │ │ └── bleu_scorer.py │ ├── cider │ │ ├── __init__.py │ │ ├── cider.py │ │ └── cider_scorer.py │ ├── eval.py │ ├── meteor │ │ ├── __init__.py │ │ ├── data │ │ │ └── paraphrase-en.gz │ │ ├── meteor-1.5.jar │ │ └── meteor.py │ ├── rouge │ │ ├── __init__.py │ │ └── rouge.py │ └── tokenizer │ │ ├── __init__.py │ │ ├── ptbtokenizer.py │ │ └── stanford-corenlp-3.4.1.jar └── pycocotools │ ├── __init__.py │ ├── _mask.c │ ├── _mask.pyx │ ├── coco.py │ ├── cocoeval.py │ └── mask.py ├── config ├── Constants.py └── methods.yaml ├── dataloader.py ├── decoding ├── __init__.py ├── algorithms.py └── na_generate.py ├── misc ├── cocoeval.py ├── crit.py ├── logger.py ├── optim.py ├── run.py ├── utils.py └── utils_corpora.py ├── models ├── Beam.py ├── Decoder.py ├── Encoder.py ├── Predictor.py ├── Translator.py ├── __init__.py ├── __init__.py~ ├── bert.py ├── joint_representation.py └── seq2seq.py ├── opts.py ├── prepare_corpora.py ├── pretreatment ├── extract_frames_from_videos.py └── extract_image_feats_from_frames.py ├── train.py └── translate.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/.gitattributes -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/README.md -------------------------------------------------------------------------------- /coco-caption/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/LICENSE -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/cider/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/cider/cider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/cider/cider.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/cider/cider_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/cider/cider_scorer.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/ciderD/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/ciderD/ciderD.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/ciderD/ciderD.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/ciderD/ciderD_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/ciderD/ciderD_scorer.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/eval.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/tokenizer/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'hfang' 2 | -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/tokenizer/ptbtokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/tokenizer/ptbtokenizer.py -------------------------------------------------------------------------------- /coco-caption/pyciderevalcap/tokenizer/stanford-corenlp-3.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pyciderevalcap/tokenizer/stanford-corenlp-3.4.1.jar -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/bleu/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/bleu/LICENSE -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/bleu/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/bleu/bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/bleu/bleu.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/bleu/bleu_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/bleu/bleu_scorer.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/cider/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/cider/cider.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/cider/cider.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/cider/cider_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/cider/cider_scorer.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/eval.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/meteor/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/meteor/data/paraphrase-en.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/meteor/data/paraphrase-en.gz -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/meteor/meteor-1.5.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/meteor/meteor-1.5.jar -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/meteor/meteor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/meteor/meteor.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/rouge/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'vrama91' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/rouge/rouge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/rouge/rouge.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/tokenizer/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'hfang' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/tokenizer/ptbtokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/tokenizer/ptbtokenizer.py -------------------------------------------------------------------------------- /coco-caption/pycocoevalcap/tokenizer/stanford-corenlp-3.4.1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocoevalcap/tokenizer/stanford-corenlp-3.4.1.jar -------------------------------------------------------------------------------- /coco-caption/pycocotools/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /coco-caption/pycocotools/_mask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocotools/_mask.c -------------------------------------------------------------------------------- /coco-caption/pycocotools/_mask.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocotools/_mask.pyx -------------------------------------------------------------------------------- /coco-caption/pycocotools/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocotools/coco.py -------------------------------------------------------------------------------- /coco-caption/pycocotools/cocoeval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocotools/cocoeval.py -------------------------------------------------------------------------------- /coco-caption/pycocotools/mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/coco-caption/pycocotools/mask.py -------------------------------------------------------------------------------- /config/Constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/config/Constants.py -------------------------------------------------------------------------------- /config/methods.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/config/methods.yaml -------------------------------------------------------------------------------- /dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/dataloader.py -------------------------------------------------------------------------------- /decoding/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/decoding/__init__.py -------------------------------------------------------------------------------- /decoding/algorithms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/decoding/algorithms.py -------------------------------------------------------------------------------- /decoding/na_generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/decoding/na_generate.py -------------------------------------------------------------------------------- /misc/cocoeval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/cocoeval.py -------------------------------------------------------------------------------- /misc/crit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/crit.py -------------------------------------------------------------------------------- /misc/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/logger.py -------------------------------------------------------------------------------- /misc/optim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/optim.py -------------------------------------------------------------------------------- /misc/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/run.py -------------------------------------------------------------------------------- /misc/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/utils.py -------------------------------------------------------------------------------- /misc/utils_corpora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/misc/utils_corpora.py -------------------------------------------------------------------------------- /models/Beam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/Beam.py -------------------------------------------------------------------------------- /models/Decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/Decoder.py -------------------------------------------------------------------------------- /models/Encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/Encoder.py -------------------------------------------------------------------------------- /models/Predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/Predictor.py -------------------------------------------------------------------------------- /models/Translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/Translator.py -------------------------------------------------------------------------------- /models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/__init__.py -------------------------------------------------------------------------------- /models/__init__.py~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/__init__.py~ -------------------------------------------------------------------------------- /models/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/bert.py -------------------------------------------------------------------------------- /models/joint_representation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/joint_representation.py -------------------------------------------------------------------------------- /models/seq2seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/models/seq2seq.py -------------------------------------------------------------------------------- /opts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/opts.py -------------------------------------------------------------------------------- /prepare_corpora.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/prepare_corpora.py -------------------------------------------------------------------------------- /pretreatment/extract_frames_from_videos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/pretreatment/extract_frames_from_videos.py -------------------------------------------------------------------------------- /pretreatment/extract_image_feats_from_frames.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/pretreatment/extract_image_feats_from_frames.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/train.py -------------------------------------------------------------------------------- /translate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yangbang18/Non-Autoregressive-Video-Captioning/HEAD/translate.py --------------------------------------------------------------------------------