- Clone this repository
- Install requirements: pip install requirements.txt
You can download the pretrained model here and the vocabulary file here.
You should extract pretrained_model.zip and move encoder and decoder .pkl to "models/". Vocab file is already placed in "data/" folder.
run: python inference.py --image="path/to/image"
- run: streamlit ui.py
- visit: http://localhost:8501, Upload your image and click on Generate Caption