Check out official webiste of VisualQA
Download the weight matrix of the 16 layer CNN model. vgg16_weights.h5 and put in src/model/dataset folder. Unable to put it here because of huge size :P
-
Clone repository
git clone https://github.com/jai-singhal/visualqa
-
cd to repository.
-
Create a virtualenv by following command
virtualenv -p python3 .
-
Activate virtualenv
source bin/activate
-
Install required packages
pip3 install -r requirements.txt
Note that you may find difficulty while installing spacy, this guide is for linux/mac only. For windows users, please download cpp build tools.
And spacy models.
python3 -m spacy download en-core-web-sm==2.0.0
python3 -m spacy download en-vectors-web-lg==2.1.0
-
cd to src and run the server
python3 manage.py runserver