tensorrt-utils icon indicating copy to clipboard operation
tensorrt-utils copied to clipboard

Some questions about int8 quat

Open leiwen83 opened this issue 5 years ago • 1 comments

Hi,

I found this repo is very useful for helping understanding trt int8 functions. However, I don't quitly understand the usage for calibration-data which mentioned in the README that it shall point to imagenet database. As I know, there is train and val folder for the imagenet.

So when we do the calibration, which folder shall be used? val? or both?

Thx, Lei

leiwen83 avatar Dec 17 '20 10:12 leiwen83

in fact only 1000 samples from validation dataset are needed, according to the guide from nvidia, so you just need to select 1000 images from the origin validation fold, and specify the new created folder as calibration-data

xiongjun19 avatar Jul 15 '21 06:07 xiongjun19