Skip to content

Commit c628f0c

Browse files
committed
update scritp
1 parent a91f14a commit c628f0c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

quantization/image_classification/trt/resnet50/e2e_tensorrt_resnet_example.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ def get_dataset_size(dataset_path, calibration_dataset_size):
310310
Untar the model into the workspace
311311
'''
312312

313+
###################################################################################################################
314+
# Note: Implicit quantization is deprecated in TRT 10.1 (using calibration table in TRT EP to set setDynamicRange),
315+
# we suggest to use explicit quantization aka QDQ format.
316+
###################################################################################################################
317+
313318
# Dataset settings
314319
model_path = "./resnet50-v2-7.onnx"
315320
ilsvrc2012_dataset_path = "./ILSVRC2012"

0 commit comments

Comments
 (0)