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

选择样本路径报错 #96

Open
Tsn-09 opened this issue Oct 18, 2021 · 0 comments
Open

选择样本路径报错 #96

Tsn-09 opened this issue Oct 18, 2021 · 0 comments

Comments

@Tsn-09
Copy link

Tsn-09 commented Oct 18, 2021

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

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

1 participant