The tensorrt engine input type is numpt.float32, but we give it an int array. In our code, we changed np.ones((1,1024, 1024, 3)) to np.ones((1, 1024, 1024, 3)).astype(np.float32)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Error in TensorRT python yolo2onnx sample , inference appears ' pycuda._driver.LogicError: cuMemcpyHtoDAsync failed: invalid argument' | 2 | 1220 | October 12, 2021 | |
| pycuda._driver.LogicError: cuMemcpyDtoHAsync failed: an illegal memory access was encountered | 3 | 941 | May 18, 2023 | |
| TensorRT 8.5.2-1+cuda11.8: pycuda._driver.LogicError: cuMemcpyHtoDAsync failed: invalid argument | 2 | 1983 | March 8, 2023 | |
| TensorRT error : cuMemcpyDtoHAsync failed: an illegal memory access was encountered | 2 | 2265 | April 7, 2021 | |
| Cuda Error in executeMemcpy: 1 (invalid argument) | 5 | 2345 | October 13, 2021 | |
| Pycuda Error During running infrence on tensorrt on Jetson Nano | 6 | 1492 | October 15, 2021 | |
| Error "pycuda._driver.LogicError: cuMemcpyHtoD failed: invalid device context" While using Flask and TensorRT engine | 2 | 2289 | November 10, 2021 | |
| tensorrt.legacy.lite.engine.infer error | 0 | 1276 | May 17, 2019 | |
| Inference with 5D input data | 3 | 760 | August 10, 2020 | |
| Batch Inference Wrong in Python API | 15 | 3703 | October 12, 2021 |