-
Notifications
You must be signed in to change notification settings - Fork 57
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
AOLM的程序问题 #40
Comments
是因为社区版本和专业版本的原因吗? |
请问这个问题你解决了吗?我把这个模块加进我的模型以后,一开始在双卡上回报这个错误,但移到单卡上也会发生这个问题。但奇怪的是相同的batch-size有时候就可以畅通无阻的训练,有的时候就会出现这个错误。 |
您好,我在运行训练时遇到一个问题,源代码如下
properties = measure.regionprops(component_labels)
areas = []
for prop in properties:
areas.append(prop.area)
max_idx = areas.index(max(areas))
报错内容为
ValueError: max() arg is an empty sequence
它显示max()中的areas为空,无法读取
我想询问是少了什么吗?
The text was updated successfully, but these errors were encountered: