What Do I Do If an Error Message Is Displayed Indicating Empty Tensor Input During PTQ?
Symptom
When running PTQ, an error message is displayed indicating empty tensor input. The detailed error message is as follows:
1 2 3 4 5 6 7 | [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty [ERROR][QuantIfmrInternelGpu][114] Empty pointer, all input tensor is empty 2022-07-02 22:11:36.232362: I tensorflow/core/kernels/logging_ops.cc:166 Do layer multilevel_roi_align/roi_level5/roi_align/AvgPool activation calibration with ifmr success! |
Possible Cause
The input data is not from a real-world dataset.
Solution
Use a real-world dataset for PTQ.
Parent topic: FAQs