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

s += f"{n} {names[int(c)]}{'s' * (n > 1)}, " # add to string KeyError: 595 #373

Open
2314-long opened this issue Apr 19, 2024 · 5 comments

Comments

@2314-long
Copy link

After training, the weights are reparameterized, and the reparameterized weights are used for inference, but an error is reported

@2314-long
Copy link
Author

请问您解决了吗,我也遇到了这个问题,pt文件能detect.py ,但是fp32,fp16,int8都不能运行,显示KeyError: 595

没有,很苦恼

@zmtttt
Copy link

zmtttt commented Apr 24, 2024

我感觉应该是yaml的问题,我打印onnx和engine的c和det时,感觉有很大的问题

@2314-long
Copy link
Author

我感觉应该是yaml的问题,我打印onnx和engine的c和det时,感觉有很大的问题

我用训练完的权重文件进行推理没有出错,但是我把这个权重文件用reparameterization.ipynb重参数化后,其他都没改,只是用这个重参数化后的权重进行推理的时候,就出现了这个错误

@xinlin-xiao
Copy link

解决了吗?我也是一样的问题

@xinlin-xiao
Copy link

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