JeVoisBase
1.22
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
__init__ (self, model_path, calibration_image_dir, transforms=Compose(), per_channel=False, act_type='int8', wt_type='int8') | |
check_opset (self, convert=True) | |
run (self) | |
Public Attributes | |
type_dict | |
model_path | |
calibration_image_dir | |
transforms | |
per_channel | |
act_type | |
wt_type | |
dr | |
Static Public Attributes | |
models | |
Definition at line 42 of file quantize-ort.py.
quantize-ort.Quantize.__init__ | ( | self, | |
model_path, | |||
calibration_image_dir, | |||
transforms = Compose() , |
|||
per_channel = False , |
|||
act_type = 'int8' , |
|||
wt_type = 'int8' |
|||
) |
Definition at line 43 of file quantize-ort.py.
quantize-ort.Quantize.check_opset | ( | self, | |
convert = True |
|||
) |
Definition at line 56 of file quantize-ort.py.
References mobilenet_v1.MobileNetV1.model_path, mobilenet_v2.MobileNetV2.model_path, lpd_yunet.LPD_YuNet.model_path, mp_palmdet.MPPalmDet.model_path, quantize-inc.Quantize.model_path, and quantize-ort.Quantize.model_path.
Referenced by quantize-ort.Quantize.run().
quantize-ort.Quantize.run | ( | self | ) |
Definition at line 68 of file quantize-ort.py.
References quantize-ort.Quantize.act_type, quantize-ort.Quantize.check_opset(), quantize-ort.Quantize.dr, mobilenet_v1.MobileNetV1.model_path, mobilenet_v2.MobileNetV2.model_path, lpd_yunet.LPD_YuNet.model_path, mp_palmdet.MPPalmDet.model_path, quantize-inc.Quantize.model_path, quantize-ort.Quantize.model_path, quantize-ort.Quantize.per_channel, quantize-ort.Quantize.type_dict, and quantize-ort.Quantize.wt_type.
quantize-ort.Quantize.act_type |
Definition at line 50 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
quantize-ort.Quantize.calibration_image_dir |
Definition at line 47 of file quantize-ort.py.
quantize-ort.Quantize.dr |
Definition at line 54 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
quantize-ort.Quantize.model_path |
Definition at line 46 of file quantize-ort.py.
Referenced by lpd_yunet.LPD_YuNet.__init__(), quantize-ort.Quantize.check_opset(), quantize-inc.Quantize.run(), and quantize-ort.Quantize.run().
|
static |
Definition at line 80 of file quantize-ort.py.
quantize-ort.Quantize.per_channel |
Definition at line 49 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
quantize-ort.Quantize.transforms |
Definition at line 48 of file quantize-ort.py.
Referenced by transform.Compose.__call__(), and quantize-ort.DataReader.get_calibration_data().
quantize-ort.Quantize.type_dict |
Definition at line 44 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
quantize-ort.Quantize.wt_type |
Definition at line 51 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().