kerlomz / captcha_trainer

[验证码识别-训练] This project is based on CNN/ResNet/DenseNet+GRU/LSTM+CTC/CrossEntropy to realize verification code identification. This project is only for training the model.
Apache License 2.0
3.02k stars 821 forks source link

选择样本路径报错 #96

Open Tsn-09 opened 3 years ago

Tsn-09 commented 3 years ago

MacOS Python 3.9

/Users/tian/MyGit/Nose_H5_Captcha Exception in Tkinter callback Traceback (most recent call last): File "/usr/local/Cellar/python@3.9/3.9.7/Frameworks/Python.framework/Versions/3.9/lib/python3.9/tkinter/init.py", line 1892, in call return self.func(*args) File "/Users/tian/MyGit/captcha_trainer-1.0/app.py", line 124, in self.parent, text='Browse', command=lambda: self.browse_dataset(DatasetType.Directory, RunMode.Trains) File "/Users/tian/MyGit/captcha_trainer-1.0/app.py", line 1405, in browse_dataset self.fetch_sample([filename]) File "/Users/tian/MyGit/captcha_trainer-1.0/app.py", line 1433, in fetch_sample category_pram = self.closest_category(category) File "/Users/tian/MyGit/captcha_trainer-1.0/app.py", line 1416, in closest_category min_index = min(category_group.values()) ValueError: min() arg is an empty sequence