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

ValueError: zero-size array to reduction operation maximum which has no identity #650

Open
ConvAndConv opened this issue Apr 10, 2024 · 3 comments

Comments

@ConvAndConv
Copy link

运行自己的数据集出现以下报错,然后我运行原代码带的dataset_demo,也出现相同的问题
labels
problem
problem2

@CQUPT-xiaojie
Copy link

请问你解决了吗

@2276924877
Copy link

#650ValueError: zero-size array to reduction operation maximum which has no identity
你把数据集中的 labelTxt.cache删除试试

@ConvAndConv
Copy link
Author

请问你解决了吗

我是下载了源码之后,按照其他方式修改了源码,这个问题在我直接运行源码的时候没有出现了,如果你的类别只有一类,你可以试试在把yaml文件中的类型设置从['类别1']改成['类别1', '']

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

3 participants