Update INT8 ONNX Models (Calibration done with cappe-5 trainset)
Browse files- yolo_nas_pose_l_int8.onnx +2 -2
- yolo_nas_pose_m_int8.onnx +2 -2
- yolo_nas_pose_n_int8.onnx +2 -2
- yolo_nas_pose_s_int8.onnx +2 -2
- yolo_nas_pose_to_onnx.py +1 -1
yolo_nas_pose_l_int8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7466a74638b064b0abef6722ca4744d1c7d07f47177dbf9d8bb06c492e4988d4
|
3 |
+
size 218735452
|
yolo_nas_pose_m_int8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b3758c7d74afeb66728bd84080904952ad49bd12d9aad55afb5768a63b382cd3
|
3 |
+
size 156781884
|
yolo_nas_pose_n_int8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3ab78595d3d0452820cf2b21da4a9a7bc14aa2ff9dd2c9611d17192f385686a7
|
3 |
+
size 28218717
|
yolo_nas_pose_s_int8.onnx
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33fce48f8418a959a384e877c2771bd50409be9edd8f18fcef0e46b0a5aa38a8
|
3 |
+
size 62289039
|
yolo_nas_pose_to_onnx.py
CHANGED
@@ -127,7 +127,7 @@ image = cv2.resize(image, (input_image_shape[1], input_image_shape[0]))
|
|
127 |
image_bchw = np.transpose(np.expand_dims(image, 0), (0, 3, 1, 2))
|
128 |
|
129 |
# Prepare Calibration Dataset for INT8 Quantization
|
130 |
-
dataset = load_dataset("cppe-5", split="
|
131 |
hf_dataset_wrapper = HFDatasetWrapper(dataset, transform=preprocess)
|
132 |
calibration_loader = DataLoader(hf_dataset_wrapper, batch_size=8)
|
133 |
|
|
|
127 |
image_bchw = np.transpose(np.expand_dims(image, 0), (0, 3, 1, 2))
|
128 |
|
129 |
# Prepare Calibration Dataset for INT8 Quantization
|
130 |
+
dataset = load_dataset("cppe-5", split="train")
|
131 |
hf_dataset_wrapper = HFDatasetWrapper(dataset, transform=preprocess)
|
132 |
calibration_loader = DataLoader(hf_dataset_wrapper, batch_size=8)
|
133 |
|