pip install -r requirements.txt
python data_download.py
Note : Dataset is MS COCO 2014 and Glove <Wikipedia 2014 + Gigaword 5>. This is large dataset, long download.
You must run
python preprocess.py
With COCO datase this command runs for a long time you can download and coppy them to ROOT / process_data
python train.py --batch-size 64 --output weights --epochs 30
You can download pre-train model an copy them to ROOT / weights
python predict.py --image path/to/image --weight path/to/weight --k-beam 9
You can see sumary in summary.ipynb