├── .gitattributes ├── .gitignore ├── README.md ├── bayesian_agents ├── joint_rsa.py ├── rsaState.py └── rsaWorld.py ├── data ├── README.md ├── default.jpg ├── google_images │ ├── imghttp:cdn2-www.dogtime.comassetsuploads201101file_23244_what-is-the-appenzeller-sennenhunde-dog-300x189.jpg.jpg │ ├── imghttps:i.ytimg.comviSfLV8hD7zX4maxresdefault.jpg.jpg │ ├── imghttps:upload.wikimedia.orgwikipediacommonsthumbaacArriva_T6_nearside.JPG1200px-Arriva_T6_nearside.JPG.jpg │ └── imghttps:upload.wikimedia.orgwikipediacommonsthumbdd9First_Student_IC_school_bus_202076.jpg220px-First_Student_IC_school_bus_202076.jpg.jpg └── models │ ├── coco-decoder-5-3000.pkl │ ├── coco-encoder-5-3000.pkl │ ├── lang_mod-decoder-5-3000.pkl │ ├── lang_mod-encoder-5-3000.pkl │ ├── vg-decoder-5-3000.pkl │ └── vg-encoder-5-3000.pkl ├── main.py ├── paper └── naacl-camera-ready.pdf ├── recursion_schemes └── recursion_schemes.py ├── requirements.txt ├── train ├── Model.py ├── __init__.py └── image_captioning │ └── char_model.py └── utils ├── README.md ├── build_data.py ├── build_vocab.py ├── compute_results.py ├── config.py ├── data_stream.py ├── find_pairs.py ├── generate_clusters.py ├── image_and_text_utils.py ├── image_utils.py ├── imagenet_utils.py ├── numpy_functions.py ├── pycocotools ├── __init__.py ├── _mask.pyx ├── coco.py ├── cocoeval.py └── mask.py ├── sample.py ├── shell ├── getData.sh ├── getGlove.sh └── getReps.sh ├── test_data.py └── urls.py /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/README.md -------------------------------------------------------------------------------- /bayesian_agents/joint_rsa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/bayesian_agents/joint_rsa.py -------------------------------------------------------------------------------- /bayesian_agents/rsaState.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/bayesian_agents/rsaState.py -------------------------------------------------------------------------------- /bayesian_agents/rsaWorld.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/bayesian_agents/rsaWorld.py -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- 1 | the neural models 2 | -------------------------------------------------------------------------------- /data/default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/default.jpg -------------------------------------------------------------------------------- /data/google_images/imghttp:cdn2-www.dogtime.comassetsuploads201101file_23244_what-is-the-appenzeller-sennenhunde-dog-300x189.jpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/google_images/imghttp:cdn2-www.dogtime.comassetsuploads201101file_23244_what-is-the-appenzeller-sennenhunde-dog-300x189.jpg.jpg -------------------------------------------------------------------------------- /data/google_images/imghttps:i.ytimg.comviSfLV8hD7zX4maxresdefault.jpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/google_images/imghttps:i.ytimg.comviSfLV8hD7zX4maxresdefault.jpg.jpg -------------------------------------------------------------------------------- /data/google_images/imghttps:upload.wikimedia.orgwikipediacommonsthumbaacArriva_T6_nearside.JPG1200px-Arriva_T6_nearside.JPG.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/google_images/imghttps:upload.wikimedia.orgwikipediacommonsthumbaacArriva_T6_nearside.JPG1200px-Arriva_T6_nearside.JPG.jpg -------------------------------------------------------------------------------- /data/google_images/imghttps:upload.wikimedia.orgwikipediacommonsthumbdd9First_Student_IC_school_bus_202076.jpg220px-First_Student_IC_school_bus_202076.jpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/google_images/imghttps:upload.wikimedia.orgwikipediacommonsthumbdd9First_Student_IC_school_bus_202076.jpg220px-First_Student_IC_school_bus_202076.jpg.jpg -------------------------------------------------------------------------------- /data/models/coco-decoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/coco-decoder-5-3000.pkl -------------------------------------------------------------------------------- /data/models/coco-encoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/coco-encoder-5-3000.pkl -------------------------------------------------------------------------------- /data/models/lang_mod-decoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/lang_mod-decoder-5-3000.pkl -------------------------------------------------------------------------------- /data/models/lang_mod-encoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/lang_mod-encoder-5-3000.pkl -------------------------------------------------------------------------------- /data/models/vg-decoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/vg-decoder-5-3000.pkl -------------------------------------------------------------------------------- /data/models/vg-encoder-5-3000.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/data/models/vg-encoder-5-3000.pkl -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/main.py -------------------------------------------------------------------------------- /paper/naacl-camera-ready.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/paper/naacl-camera-ready.pdf -------------------------------------------------------------------------------- /recursion_schemes/recursion_schemes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/recursion_schemes/recursion_schemes.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/requirements.txt -------------------------------------------------------------------------------- /train/Model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/train/Model.py -------------------------------------------------------------------------------- /train/__init__.py: -------------------------------------------------------------------------------- 1 | #init 2 | -------------------------------------------------------------------------------- /train/image_captioning/char_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/train/image_captioning/char_model.py -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/README.md -------------------------------------------------------------------------------- /utils/build_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/build_data.py -------------------------------------------------------------------------------- /utils/build_vocab.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/build_vocab.py -------------------------------------------------------------------------------- /utils/compute_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/compute_results.py -------------------------------------------------------------------------------- /utils/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/config.py -------------------------------------------------------------------------------- /utils/data_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/data_stream.py -------------------------------------------------------------------------------- /utils/find_pairs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/find_pairs.py -------------------------------------------------------------------------------- /utils/generate_clusters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/generate_clusters.py -------------------------------------------------------------------------------- /utils/image_and_text_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/image_and_text_utils.py -------------------------------------------------------------------------------- /utils/image_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/image_utils.py -------------------------------------------------------------------------------- /utils/imagenet_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/imagenet_utils.py -------------------------------------------------------------------------------- /utils/numpy_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/numpy_functions.py -------------------------------------------------------------------------------- /utils/pycocotools/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'tylin' 2 | -------------------------------------------------------------------------------- /utils/pycocotools/_mask.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/pycocotools/_mask.pyx -------------------------------------------------------------------------------- /utils/pycocotools/coco.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/pycocotools/coco.py -------------------------------------------------------------------------------- /utils/pycocotools/cocoeval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/pycocotools/cocoeval.py -------------------------------------------------------------------------------- /utils/pycocotools/mask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/pycocotools/mask.py -------------------------------------------------------------------------------- /utils/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/sample.py -------------------------------------------------------------------------------- /utils/shell/getData.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/shell/getData.sh -------------------------------------------------------------------------------- /utils/shell/getGlove.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/shell/getGlove.sh -------------------------------------------------------------------------------- /utils/shell/getReps.sh: -------------------------------------------------------------------------------- 1 | ipython3 charpragcap/utils/build_data.py 2 | -------------------------------------------------------------------------------- /utils/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/test_data.py -------------------------------------------------------------------------------- /utils/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/reubenharry/Recurrent-RSA/HEAD/utils/urls.py --------------------------------------------------------------------------------