Skip to content

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

Description

@rainsher

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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