Skip to content

TypeError: Expected int32, got list containing Tensors of type '_Message' instead. #3

@tusharkgerg

Description

@tusharkgerg

Got the following error when running the code at:
File "/Users/tushar/workspace/python/impact/cnn_text_classification_original/cnn_text_classification/text_cnn.py", line 57, in init
self.h_pool = tf.concat(3, pooled_outputs)

Error: TypeError: Expected int32, got list containing Tensors of type '_Message' instead.

Please help.. I tried running this on my local system and as well as Google cloud ml-engine. Got the same error in both places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions