Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Bug with long sequence #101

Closed
yunchenglisc opened this issue Mar 22, 2017 · 3 comments
Closed

Bug with long sequence #101

yunchenglisc opened this issue Mar 22, 2017 · 3 comments

Comments

@yunchenglisc
Copy link

Here is the steps to reproduce.

  1. Generate toy data with max_len = 200, by modify the bin/data/toy.sh and replace the --max_len 20 to --max_len 200`
  2. Run the training pipeline

Errors will happen with evaluation stage:

InvalidArgumentError (see above for traceback): logits and labels must have the same first dimension, got logits shape [80,23] and labels shape [990]

I tried to find out why, but failed. Please fix this.

@dennybritz
Copy link
Contributor

Hm, I tried to this and changing the length works fine for me. I don't think your error is related to the sequence length, but something else with your setup.

@rihardsk
Copy link

I have also encountered the same issue. It's on a custom dataset so I can neither confirm or rule out that it is due to the line length.

I might add that this happens right after evaluation has started. It seems that something weird is happening with that process as I have also encountered #102 and #69 (both also happen while evaluating) during the past few hours without changing anything in the experiment setup (I tried to switch to a development version of Tensorflow).

Here's a more complete error log.

@dennybritz
Copy link
Contributor

Thanks for reporting, I do believe all of these issues are caused by the same problem, so I will close them and create a new issue to handle these: #103

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants