-
Notifications
You must be signed in to change notification settings - Fork 160
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
INT8量化报错 #153
Comments
你跑的是readme吗?如果是readme的话,你提供的错误信息有点不够,推测可能是环境没装好 |
我用这个工具转fp32 测试过yolov8的bmodel是没有问题的,我是按照文档的步骤走的,现在是想走量化发现报错了。 |
提供的错误信息不全,log信息截全一点 |
SOPHGO Toolchain v1.2.8-g32d7b3ec-20230802 |
补充 重新新建一个docker操作 coco数据集的yolov5可以量化,但是yolov8不成功,错误内容和上一个回复的一样,和yolov5一样的转化指令 |
晓得了,应该是yolov8s这个模型量化的效果不好,建议你加一下官方的wx群,然后问一下工作人员 |
我将自己的v8模型转换成onnx,编译的时候也出现这个错,请问你解决了吗 |
用int8非对称量化模型,亲测成功 |
芯片1684
模型yolov5s
npz compare FAILED.
compare output_Concat: 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:00<00:00, 25.02it/s]
Traceback (most recent call last):
File "/workspace/tpu-mlir/tpu-mlir_v1.2.8-g32d7b3ec-20230802/python/tools/model_deploy.py", line 286, in
tool.lowering()
File "/workspace/tpu-mlir/tpu-mlir_v1.2.8-g32d7b3ec-20230802/python/tools/model_deploy.py", line 103, in lowering
tool.validate_tpu_mlir()
File "/workspace/tpu-mlir/tpu-mlir_v1.2.8-g32d7b3ec-20230802/python/tools/model_deploy.py", line 190, in validate_tpu_mlir
f32_blobs_compare(self.tpu_npz, self.ref_npz, self.tolerance, self.excepts)
File "/workspace/tpu-mlir/tpu-mlir_v1.2.8-g32d7b3ec-20230802/python/utils/mlir_shell.py", line 172, in f32_blobs_compare
_os_system(cmd)
File "/workspace/tpu-mlir/tpu-mlir_v1.2.8-g32d7b3ec-20230802/python/utils/mlir_shell.py", line 50, in _os_system
raise RuntimeError("[!Error]: {}".format(cmd_str))
请问有大佬能帮忙解答一下吗
The text was updated successfully, but these errors were encountered: