ParikhKadam / bidaf-keras

Bidirectional Attention Flow for Machine Comprehension implemented in Keras 2
GNU General Public License v3.0
64 stars 21 forks source link

Error while predicting : python -m bidaf --model_name=bidaf_50.h5 --do_lowercase predict --passage "This is tree." --question "What is this?" --return_char_loc --return_confidence_score #22

Open Maqsoodhuman opened 4 years ago

Maqsoodhuman commented 4 years ago

I am getting an error:

tensorflow.python.framework.errors_impl.InvalidArgumentError: ConcatOp : Dimensions of inputs should match: shape[0] = [1,4,1,800] vs. shape[1] = [1,1,4,800] [[{{node similarity_layer_1/concat_2}}]]