Open PureWaterCatt opened 3 months ago
I update my readme、gpu environment and setup step, now you can follow the step to run this project.
I update my readme、gpu environment and setup step, now you can follow the step to run this project.
Thank you so much for the readme. I tried to run the project and managed to get some output from the pdf file. However, I am in some trouble with a pdf of an image that I wasn't able to run successfully, but that's where running the onnx model with the CPU gets me normal results.
Output:
[06/27/2024-02:51:33] [TRT] [E] 3: [executionContext.cpp::setInputShape::2068] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::setInputShape::2068, condition: satisfyProfile Runtime dimension does not satisfy any optimization profile.) [06/27/2024-02:51:34] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2842] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2842, condition: allInputDimensionsSpecified(routine) )
I need help if possible, this is my pdf file that you can try. Thank you again. test.pdf
I update my readme、gpu environment and setup step, now you can follow the step to run this project.
Thank you so much for the readme. I tried to run the project and managed to get some output from the pdf file. However, I am in some trouble with a pdf of an image that I wasn't able to run successfully, but that's where running the onnx model with the CPU gets me normal results.
Output:
[06/27/2024-02:51:33] [TRT] [E] 3: [executionContext.cpp::setInputShape::2068] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::setInputShape::2068, condition: satisfyProfile Runtime dimension does not satisfy any optimization profile.) [06/27/2024-02:51:34] [TRT] [E] 3: [executionContext.cpp::resolveSlots::2842] Error Code 3: API Usage Error (Parameter check failed at: runtime/api/executionContext.cpp::resolveSlots::2842, condition: allInputDimensionsSpecified(routine) )
I need help if possible, this is my pdf file that you can try. Thank you again. test.pdf
pull this repo and try again. When converting the model to TRT, you need to specify the minimum dimensions. I lowered this minimum dimension, which should solve the problem.
RT,我在跑trt模型的时候提示不兼容,需要rebuild,可以的话可以告知一下运行的环境吗?