structured-neural-summarization icon indicating copy to clipboard operation
structured-neural-summarization copied to clipboard

UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.

Open rainsher opened this issue 5 years ago • 0 comments

When I running the train_and_eval.py on CNNDailyMail dataset, it often has the problem'UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.' I have found that the dataset.tensorshape have been defineds in advance as [None], and it's feeded into the trainning. Maybe it's the reason. Can anybody give a solution? Thanks!

rainsher avatar Nov 10 '19 04:11 rainsher