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

yolov5_7.0版本经过rep_convert.py脚本转换后,推理报错。 #242

Open
Miku0999 opened this issue Jul 20, 2023 · 2 comments
Open

Comments

@Miku0999
Copy link

image
image

@May-Yao
Copy link

May-Yao commented Sep 11, 2023

将这句model.append(ckpt['ema' if ckpt.get('ema') else 'model'].float().fuse().eval())
改为 model.append(ckpt.float().fuse().eval())
就能成功运行

@ppogg
Copy link
Owner

ppogg commented Oct 24, 2023

yyds

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