avgRuns: 10
deploy: ResNet50_N2.prototxt
int8
batch: 1
output: prob
Parameter check failed at: ../builder/Network.cpp::addFullyConnected::78, condition: kernelWeights.values != nullptr
error parsing layer type InnerProduct index 226
Engine could not be created
Engine could not be created
thank you for your reply,but the installation steps are correct
if I use Rest50 in 1 ×3 * 224 * 224,The result is OK,As follows
./trtexec --avgRuns=10 --deploy=ResNet50_N2.prototxt --int8 --batch=1 --output=prob
avgRuns: 10
deploy: ResNet50_N2.prototxt
int8
batch: 1
output: prob
Input "data": 3x224x224
Output "prob": 1000x1x1
name=data, bindingIndex=0, buffers.size()=2
name=prob, bindingIndex=1, buffers.size()=2
Average over 10 runs is 2.24991 ms (host walltime is 2.34324 ms, 99% percentile time is 2.2753).
Average over 10 runs is 2.23246 ms (host walltime is 2.30345 ms, 99% percentile time is 2.25008).
Average over 10 runs is 2.23027 ms (host walltime is 2.29599 ms, 99% percentile time is 2.24582).
Average over 10 runs is 2.23384 ms (host walltime is 2.29854 ms, 99% percentile time is 2.25206).
Average over 10 runs is 2.23196 ms (host walltime is 2.29724 ms, 99% percentile time is 2.26346).
Average over 10 runs is 2.23042 ms (host walltime is 2.295 ms, 99% percentile time is 2.27827).
Average over 10 runs is 2.22992 ms (host walltime is 2.29304 ms, 99% percentile time is 2.27405).
Average over 10 runs is 2.22126 ms (host walltime is 2.28345 ms, 99% percentile time is 2.24029).
Average over 10 runs is 2.22063 ms (host walltime is 2.29072 ms, 99% percentile time is 2.22464).
Average over 10 runs is 2.22029 ms (host walltime is 2.28319 ms, 99% percentile time is 2.23456).
Just changed the size of the input, Unable to measure time consuming
./trtexec --avgRuns=10 --deploy=ResNet50_N2.prototxt --int8 --batch=1 --output=prob
avgRuns: 10
deploy:ResNet50_N2.prototxt
int8
batch: 1
output: prob
Parameter check failed at: ../builder/Network.cpp::addFullyConnected::78, condition: kernelWeights.values != nullptr
error parsing layer type InnerProduct index 226
Engine could not be created
Engine could not be created
We noticed that you are using old version of TensorRT. We recommend you to install latest version and try on it. Please let us know if you still face this issue.
Looks like error is appearing due to insufficient memory. We recommend you to increase the workspace using --workspace option in trtexec.
Please make sure enough GPU memory is available. Please check GPU utilization by using nvidia-smi.