No description, website, or topics provided.
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
coco/annotations
lib
models
.gitignore
LICENSE
README.md
dataprep.py
dict_key_imgID_value_caps_train_and_valid.pkl
requirements.txt
run_model.py
settings.py

README.md

ift6266-h17-project

Download the COCO dataset from http://lisaweb.iro.umontreal.ca/transfert/lisa/datasets/mscoco_inpaiting/

Build the following folder structure:

  • project_root/coco/images/train2014/
  • project_root/coco/images/val2014/

Compress your images in a numpy archive file with: python dataprep.py

Clone this repository: https://github.com/pdollar/coco git clone https://github.com/pdollar/coco

In PythonAPI, run setup.py: python setup.py build_ext --inplace

Copy over the generated files in PythonAPI/pycocotools to project_root/lib/pycocotools:

  • _mask.c
  • _mask.pyd _ _mask.pyx _ *.so files if on linux

Run your model with: python run_model.py run 'modelName'