visual-qa
visual-qa copied to clipboard
evaluate.py seems to fail on the example (get_started.sh) script.
Running the evaluate.py script as given in get_started.sh is leading to a Key Error. Any reasons/explanations as to what might be going wrong?
`$> python evaluateMLP.py -model ../models/mlp_num_hidden_units_1024_num_hidden_layers_3.json -weights ../models/mlp_num_hidden_units_1024_num_hidden_layers_3_epoch_00_loss_5.10.hdf5 -results ../results/mlp_1024_3_ep0.txt
Using Theano backend.
Couldn't import dot_parser, loading of dot files will not be possible.
/usr/local/lib/python2.7/dist-packages/theano/tensor/signal/downsample.py:5: UserWarning: downsample module has been moved to the pool module.
warnings.warn("downsample module has been moved to the pool module.")
Traceback (most recent call last):
File "evaluateMLP.py", line 102, in
Strangely, the script runs fine if I pass one of the training snapshots instead of the final model hdf5 (eg. mlp_num_hidden_units_1024_num_hidden_layers_3_epoch_99.hdf5). @avisingh599 : Can you throw some light on this?
I have the same issue, can you help to solve it?
Did you use spaCy to load the Stanford Glove word2vec? The pre-trained model has that and unless changed locally spaCy will NOT load the Stanford Glove.