CoderPat / structured-neural-summarization

A repository with the code for the paper with the same title
MIT License
74 stars 26 forks source link

'MapDataset' object has no attribute 'output_shapes' #26

Closed rainsher closed 5 years ago

rainsher commented 5 years ago

Hello, After I processed the CNNDM data, I started running the train_and_eval.py, but I got an error,''MapDataset' object has no attribute 'output_shapes'', how to solve it? Thanks.

File"/structured-neural-summarization-master/OpenGNN/opengnn/utils/data.py", line 13, in get_padded_shapes return tf.contrib.framework.nest.map_structure(lambda shape: shape.as_list(),dataset.output_shapes) AttributeError: 'MapDataset' object has no attribute 'output_shapes'

jacobwwh commented 3 years ago

I ran into the same error. How did you solve it?