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

关于val_det.py推理时参数不匹配 #42

Open
Yshelgi opened this issue Sep 30, 2022 · 0 comments
Open

关于val_det.py推理时参数不匹配 #42

Yshelgi opened this issue Sep 30, 2022 · 0 comments

Comments

@Yshelgi
Copy link

Yshelgi commented Sep 30, 2022

当我尝试运行val_det.py时,提示forward()出现了未知的参数val,然后查看代码
image.png

但是去models/common.py中查看DetectMultiBackend()却发现forward()中并没有val这个参数
image.png

所以这应该是个小bug或者是没有及时更新的地方,无论是在common.py的forward()中添加一个val参数或者是去掉推理时的val=True都可以解决这个问题.

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