interpretable-han-for-document-classification-with-keras icon indicating copy to clipboard operation
interpretable-han-for-document-classification-with-keras copied to clipboard

size error

Open BeautyChesnut opened this issue 5 years ago • 1 comments

hello, I called part of your code including build_word_encoder and build_sent_encoder, but something went wrong, can you please help me? here is my error(your DENSE_SIZE=100, and I use 64 as my DENSE_SIZE ): tensorflow.python.framework.errors_impl.InvalidArgumentError: Inputs to operation bidirectional_3_1/while/Select of type Select must have the same size and shape. Input 0: [1,32768] != input 1: [1,64]

BeautyChesnut avatar Jan 11 '20 03:01 BeautyChesnut

and can you tell me the tensorflow and keras version of this code?

BeautyChesnut avatar Jan 13 '20 02:01 BeautyChesnut