Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

报错了 RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' #40

Open
wangshipei opened this issue Nov 25, 2022 · 4 comments
Open

Comments

@wangshipei
Copy link

请问下这个是怎么回事?

@cccoolboy
Copy link

请问下这个是怎么回事?

我也有这个问题,搜了下好像是Half这个数据结构不支持在cpu上运行,不知道你有没有解决

@wangshipei
Copy link
Author

我换了台有GPU的电脑,也是没办法跑

@cccoolboy
Copy link

解决了,就把detector,py和utils/general.py两个文件里的half()改成float()就行了

@wangshipei
Copy link
Author

果然可以了!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants