Closed makangzhe closed 1 year ago
base = ['./segmentation_static.py', '../base/backends/tensorrt-int8.py']
onnx_config = dict(input_shape=[512, 512]) backend_config = dict( common_config=dict(max_workspace_size=1 << 30), model_inputs=[ dict( input_shapes=dict( input=dict( min_shape=[1, 3, 512, 512], opt_shape=[1, 3, 512, 512], max_shape=[1, 3, 512, 512]))) ])
base = ['./segmentation_static.py', '../base/backends/tensorrt-int8.py']
onnx_config = dict(input_shape=[512, 512]) backend_config = dict( common_config=dict(max_workspace_size=1 << 30), model_inputs=[ dict( input_shapes=dict( input=dict( min_shape=[1, 3, 512, 512], opt_shape=[1, 3, 512, 512], max_shape=[1, 3, 512, 512]))) ])
@makangzhe Hi, cannot get useful info from error log. Could you try run following script and post error log here?
CUDA_VISIBLE_DEVICES=3 \
python3 mmdeploy-master/tools/onnx2tensorrt.py \
mmdeploy-master/configs/mmseg/segmentation_tensorrt-int8_static-512x512.py \
mmdeploy_model/deeplab-v3-int8/end2end.onnx \
mmdeploy_model/deeplab-v3-int8/end2end \
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
Checklist
Describe the bug
when i use FP16 config , it's normal . but i use INT8 config, wrong happened, please help me
Reproduction
CUDA_VISIBLE_DEVICES=3 python3 mmdeploy-master/tools/deploy.py mmdeploy-master/configs/mmseg/segmentation_tensorrt-int8_static-512x512.py mmsegmentation-master/idcard_config/deeplabv3plus_r18-d8_512x512_ps_v2.py weights/deeplab_v3_mosaic_2-1.pth mmsegmentation-master/demo/demo.png --work-dir mmdeploy_model/deeplab-v3-int8 --device cuda:0 --dump-info
Environment
Error traceback