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

predict.py报错 #4

Open
wyz58 opened this issue Sep 25, 2024 · 1 comment
Open

predict.py报错 #4

wyz58 opened this issue Sep 25, 2024 · 1 comment

Comments

@wyz58
Copy link

wyz58 commented Sep 25, 2024

3ba99e1707a036f34e91846a4f1adbf
运行train没问题,运行predict报图中错请问怎么解决。

@jianganghuang
Copy link
Collaborator

感谢您的关注,对于该问题,可能是环境版本不正确导致的,最简单的解决方式是注释该行,直接令fp16=True 或 False。如果需要彻底解决该问题,您需要debug是哪个变量为str类型。

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