Error when creating TRT engine with INT8 calibration #3937
Labels
Module:Quantization
Issues related to Quantization
triaged
Issue has been triaged by maintainers
waiting for feedback
Requires more information from user to make progress on the issue.
Hi! I am trying to implement a code to generate TRT engine with INT8 calibration as an option, I'm basing my code on YOLOv8's engine export file (tested the code and it works fine: https://github.com/ultralytics/ultralytics/blob/main/ultralytics/engine/exporter.py#L675)
As I wanted to run it on other models, I wrote the following script after trying to remove all YOLOv8's dependencies between files:
When I run this code the export to FP32 or FP16 engine works fine, but doesn't work with the INT8 option and gives the following error:
I only changed the way YOLOv8 create their dataloader as I went for a basic dataloader, I don't know if that's where the error comes from & I can't find a solution for this, any help? Thank you
The text was updated successfully, but these errors were encountered: