-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StopIteration while running Interactive Context on Transform #2756
Comments
@RaphRzb, |
Of course. Here's a cats vs. dogs version that gives the same error (for simplicity: https://www.kaggle.com/c/dogs-vs-cats/data)
With preprocess.py as:
(Credit to @hanneshapke and @drcat101 for a solid 90% of this code. Thanks guys your book is great) |
Hi @RaphRzb, I think the stopIteration issue is related to an issue with the Transformer component. @zoyahav fixed the issue and pushed a fix to the tfx nightly build. You can find an intermediate fix here by setting the I hope that works for you. |
Thanks @hanneshapke, I used the intermediate fix and it works perfectly Raphael |
Hi, first thanks for all the amazing work,
I'm currently writing a pipeline for SSD but I'm starting with image classification to get familiar with writing pipelines for image processing.
I'm loading images as byte data (open with
'rb'
) in a custom executor for FileBasedExampleGen, then pretty much following the taxi template, changing only the training and preprocessing files. Also tried with writing TFRecords first and then loading them.I just finished the training block, haven't got farther yet.
When I run this with tfx==0.21.1 it works like a charm but when I run it with 0.24.1 I get this error when I try to do
I get this StopIteration:
Any idea why this happens?
The text was updated successfully, but these errors were encountered: