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

assertion error #109

Closed
yyyash8 opened this issue Nov 11, 2019 · 2 comments
Closed

assertion error #109

yyyash8 opened this issue Nov 11, 2019 · 2 comments

Comments

@yyyash8
Copy link

yyyash8 commented Nov 11, 2019

:~/deep-text-recognition-benchmark$ CUDA_VISIBLE_DEVICES=0 python3 train.py --train_data /home/lincode/deep-text-recognition-benchmark/result/ --valid_data validate/ --select_data /home/lincode/deep-text-recognition-benchmark/TextRecognitionDataGenerator/TextRecognitionDataGenerator/out --batch_ratio .8 --Transformation TPS --FeatureExtraction ResNet --SequenceModeling BiLSTM --Prediction Attn
Filtering the images containing characters which are not in opt.character
Filtering the images whose label is longer than opt.batch_max_length

dataset_root: /home/lincode/deep-text-recognition-benchmark/result/
opt.select_data: ['/home/lincode/deep', 'text', 'recognition', 'benchmark/TextRecognitionDataGenerator/TextRecognitionDataGenerator/out']
opt.batch_ratio: ['.8']
Traceback (most recent call last):
File "train.py", line 307, in
train(opt)
File "train.py", line 31, in train
train_dataset = Batch_Balanced_Dataset(opt)
File "/home/lincode/deep-text-recognition-benchmark/dataset.py", line 27, in init
assert len(opt.select_data) == len(opt.batch_ratio)
AssertionError

what to do?

@yyyash8 yyyash8 closed this as completed Nov 11, 2019
@vinodckumar
Copy link

I am getting same error..what to do?

@yyyash8
Copy link
Author

yyyash8 commented Nov 23, 2019

I am getting same error..what to do?

#85 check this

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