Closed roborocklsm closed 4 years ago
Hi, I am encountering the very same issues for a Jetson Xavier NX with Jetpack v4.4 and TensorRT 7 what are the expected dependencies. Looking forward to running the benchmarks ;) Thx.
I met the error also, did you know how to fix it?
@roborocklsm Sorry for the delayed reply. Currently, we targeted benchmark script for JP4.4 with TRT7, however, you can modify : function read_perf_time in utils/read_write_data.py script.
Please let me know if you see any issues.
Hi, I am encountering the very same issues for a Jetson Xavier NX with Jetpack v4.4 and TensorRT 7 what are the expected dependencies. Looking forward to running the benchmarks ;) Thx.
Could you please check if you have log file in models directory? If yes, does that show any signs of engine ran successfully? as @roborocklsm output? Please copy paste your error message.
&&&& RUNNING TensorRT.trtexec # ./trtexec --output=Mconv7_stage2_L2 --deploy=nx-models/pose_estimation.prototxt --batch=2 --int8 --workspace=2048 --avgRuns=100 --duration=180 --loadEngine=nx-models/pose_estimation_b2_ws2048_gpu.engine [06/04/2020-21:21:28] [I] === Model Options === [06/04/2020-21:21:28] [I] Format: Caffe [06/04/2020-21:21:28] [I] Model: [06/04/2020-21:21:28] [I] Prototxt: nx-models/pose_estimation.prototxt [06/04/2020-21:21:28] [I] Output: Mconv7_stage2_L2 [06/04/2020-21:21:28] [I] === Build Options === [06/04/2020-21:21:28] [I] Max batch: 2 [06/04/2020-21:21:28] [I] Workspace: 2048 MB [06/04/2020-21:21:28] [I] minTiming: 1 [06/04/2020-21:21:28] [I] avgTiming: 8 [06/04/2020-21:21:28] [I] Precision: FP32+INT8 [06/04/2020-21:21:28] [I] Calibration: Dynamic [06/04/2020-21:21:28] [I] Safe mode: Disabled [06/04/2020-21:21:28] [I] Save engine: [06/04/2020-21:21:28] [I] Load engine: nx-models/pose_estimation_b2_ws2048_gpu.engine [06/04/2020-21:21:28] [I] Builder Cache: Enabled [06/04/2020-21:21:28] [I] NVTX verbosity: 0 [06/04/2020-21:21:28] [I] Inputs format: fp32:CHW [06/04/2020-21:21:28] [I] Outputs format: fp32:CHW [06/04/2020-21:21:28] [I] Input build shapes: model [06/04/2020-21:21:28] [I] Input calibration shapes: model [06/04/2020-21:21:28] [I] === System Options === [06/04/2020-21:21:28] [I] Device: 0 [06/04/2020-21:21:28] [I] DLACore: [06/04/2020-21:21:28] [I] Plugins: [06/04/2020-21:21:28] [I] === Inference Options === [06/04/2020-21:21:28] [I] Batch: 2 [06/04/2020-21:21:28] [I] Input inference shapes: model [06/04/2020-21:21:28] [I] Iterations: 10 [06/04/2020-21:21:28] [I] Duration: 180s (+ 200ms warm up) [06/04/2020-21:21:28] [I] Sleep time: 0ms [06/04/2020-21:21:28] [I] Streams: 1 [06/04/2020-21:21:28] [I] ExposeDMA: Disabled [06/04/2020-21:21:28] [I] Spin-wait: Disabled [06/04/2020-21:21:28] [I] Multithreading: Disabled [06/04/2020-21:21:28] [I] CUDA Graph: Disabled [06/04/2020-21:21:28] [I] Skip inference: Disabled [06/04/2020-21:21:28] [I] Inputs: [06/04/2020-21:21:28] [I] === Reporting Options === [06/04/2020-21:21:28] [I] Verbose: Disabled [06/04/2020-21:21:28] [I] Averages: 100 inferences [06/04/2020-21:21:28] [I] Percentile: 99 [06/04/2020-21:21:28] [I] Dump output: Disabled [06/04/2020-21:21:28] [I] Profile: Disabled [06/04/2020-21:21:28] [I] Export timing to JSON file: [06/04/2020-21:21:28] [I] Export output to JSON file: [06/04/2020-21:21:28] [I] Export profile to JSON file: [06/04/2020-21:21:28] [I] [06/04/2020-21:21:28] [E] Error opening engine file: nx-models/pose_estimation_b2_ws2048_gpu.engine [06/04/2020-21:21:28] [E] Engine creation failed [06/04/2020-21:21:28] [E] Engine set up failed &&&& FAILED TensorRT.trtexec # ./trtexec --output=Mconv7_stage2_L2 --deploy=nx-models/pose_estimation.prototxt --batch=2 --int8 --workspace=2048 --avgRuns=100 --duration=180 --loadEngine=nx-models/pose_estimation_b2_ws2048_gpu.engine
@yxxxqqq Thank you for the log. Following are my two suggestions:
@yxxxqqq It looks like your argument to --model_dir is a relative path. I have been getting similar error log as yours. When I changed relative path to absolute path, there was no issue.
PS: I'm using JP4.4 & AGX Xavier.
Thanks @Zulkhuu for looking at it. I am closing this issue due to inactivity for more than 15days.
I am also facing same issue what is the recommended solution for this as i am not able to get output and getting same errors
I'm facing the same issue. The model directory path is absolute in my case. Here's a screenshot,
When I run this benchmark on Jetson AGX Xavier with jetpack 4.3 and TensorRT6, it gives back some errors.
It returns
And I checked the log:
It seems has already done the benchmark stuff but failed with parsing them from the log.
And for
ssd-mobilenet-v1
, it seems unable to create the trt engine.