You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/work_dir/demo/ppq_code/int8trt.py", line 2, in
build_engine(onnx_file='/work_dir/demo/models/6-x-slimneck-best(PPQ_2).onnx',
File "/usr/local/lib/python3.10/dist-packages/ppq-0.6.6-py3.10.egg/ppq/utils/TensorRTUtil.py", line 263, in build_engine
f.write(engine.serialize())
AttributeError: 'NoneType' object has no attribute 'serialize'
请问怎么解决这个问题呢?
The text was updated successfully, but these errors were encountered:
当我将误差较大的层送入
TargetPlatform.FP32
后,生成int8.onnx,但是无法生成对应的int8.engine文件,报错如下:请问怎么解决这个问题呢?
The text was updated successfully, but these errors were encountered: