Skip to content
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 error when training #61

Open
germanebr opened this issue May 21, 2020 · 1 comment
Open

StopIteration error when training #61

germanebr opened this issue May 21, 2020 · 1 comment

Comments

@germanebr
Copy link

Hello

I've been trying to train the model with the ICDAR 2019 dataset. However, when I run the training script the error of `print(len([f for f in next(os.walk(FLAGS.training_data_path))[2] if f[-4:] == ".jpg"]))

StopIteration` appears. Does it mean that is not finding anything in the training_data_path?

I already checked that the folder contains both the .jpg and .txt data for each image that I use for training. What could be the cause of this problem?

@QuickLearner171998
Copy link

Hey, are you running this on google Colab? I also encountered a similar error in colab and that was due to google drive time out. Re-running the cell helped.
If not on colab then it is because of some issue in the path only. Can you share a screenshot of the contents in your training directory.

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

No branches or pull requests

2 participants