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

运行变化检测的train.py时报错,'accuracy': Accuracy().to(device=device), TypeError: Accuracy.__new__() missing 1 required positional argument: 'task' #16

Closed
mrxmxm opened this issue Aug 8, 2024 · 1 comment

Comments

@mrxmxm
Copy link

mrxmxm commented Aug 8, 2024

运行变化检测的train.py时报错,训练图片都提供了,请问怎么解决
image

@KyanChen
Copy link
Owner

KyanChen commented Sep 3, 2024

查看一下accuray这个类,看报错应该是要增加一个task的参数

@KyanChen KyanChen closed this as completed Sep 3, 2024
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