question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tensorflow.python.framework.errors_impl.InvalidArgumentError

See original GitHub issue

Excuse me,when I trianing use my custom chinese dialog data,it raised the following error, tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [All values in memory_sequence_length must greater than zero.] [Condition x > 0 did not hold element-wise:] [x (IteratorGetNext:3) = ] [8 9 8...], which part may I make mistake?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
bshao001commented, May 29, 2018

@yanqiangmiffy 你好!既然是作中文处理,你可以去掉这些行,看看问题是不是就解决了。 tokenizeddata.py 中以下部分是将大写字母转换成小写字母的,请去掉::223 到 236 行。

1reaction
yanqiangmiffycommented, May 30, 2018

@bshao001 你好,可以了,多谢您了

Read more comments on GitHub >

github_iconTop Results From Across the Web

tensorflow.python.framework.errors_impl.InvalidArgumentError
Alright! a formal answer might help. I fixed this issue in two steps. Firstly, while creating the CSV you should make sure there...
Read more >
tensorflow.python.framework.errors_impl ... - GitHub
tensorflow.python.framework.errors_impl.InvalidArgumentError: Invalid argument: assertion failed: #8595.
Read more >
tf.errors.InvalidArgumentError | TensorFlow v2.11.0
This error is typically raised when an op receives mismatched arguments. Example: tf.reshape ...
Read more >
tensorflow.python.framework.errors_impl.InvalidArgumentError
tensorflow.python.framework.errors_impl.InvalidArgumentError: 2 root error(s) found. (0) Invalid argument: assertion failed: [32.3707886]
Read more >
tf.errors.InvalidArgumentError | TensorFlow
Defined in tensorflow/python/framework/errors_impl.py . Raised when an operation receives an invalid argument. This may occur, for example, if an operation ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found