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

MQBENCH 量化 报错 AttributeError: 'GraphModule' object has no attribute 'module' #83

Open
Xiyuqiao opened this issue May 26, 2022 · 5 comments

Comments

@Xiyuqiao
Copy link

训练是可以正常训练的,验证的时候就报错,大家有知道这是什么原因吗?

@liu202204
Copy link

我也是这个问题,兄弟你是怎么解决的啊? @Xiyuqiao

@Xiyuqiao
Copy link
Author

Xiyuqiao commented Jun 7, 2022

我也不是很懂,暂时没有找到解决办法,先放弃了

@liu202204
Copy link

我也不是很懂,暂时没有找到解决办法,先放弃了

你后面还有尝试其他人的量化代码嘛?

@Xiyuqiao
Copy link
Author

Xiyuqiao commented Jun 7, 2022

我纯新手,所以不太懂哈,还找到了这两个,理论上肯定是可行的,但是还是会遇到一些报错,就放弃了,你可以试试看
https://github.com/maggiez0138/yolov5_quant_sample
https://www.cnblogs.com/KdeS/p/15119831.html

@zmzds
Copy link

zmzds commented Oct 14, 2022

在插入量化节点之后,使用model.names = names,可以解决

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