JeVoisBase
1.20
JeVois Smart Embedded Machine Vision Toolkit Base Modules
|
|
Public Member Functions | |
def | __init__ (self, model_path, calibration_image_dir, transforms=Compose(), per_channel=False, act_type='int8', wt_type='int8') |
def | check_opset (self, convert=True) |
def | run (self) |
Public Attributes | |
type_dict | |
calibration_image_dir | |
per_channel | |
act_type | |
wt_type | |
dr | |
Static Public Attributes | |
yunet | |
model_path | |
string | calibration_image_dir = '../../benchmark/data/face_detection', |
transforms = Compose([Resize(size=(160, 120))])), | |
sface | |
pphumenseg | |
ppresnet50 | |
youtureid | |
crnn_en | |
crnn_cn | |
Definition at line 42 of file quantize-ort.py.
def 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.
def 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, mp_palmdet.MPPalmDet.model_path, lpd_yunet.LPD_YuNet.model_path, quantize-inc.Quantize.model_path, quantize-inc.Dataset.model_path, and quantize-ort.Quantize.model_path.
Referenced by quantize-ort.Quantize.run().
def 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_v2.MobileNetV2.model_path, mp_palmdet.MPPalmDet.model_path, mobilenet_v1.MobileNetV1.model_path, lpd_yunet.LPD_YuNet.model_path, quantize-inc.Quantize.model_path, quantize-inc.Dataset.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.
|
static |
Definition at line 82 of file quantize-ort.py.
|
static |
Definition at line 101 of file quantize-ort.py.
|
static |
Definition at line 98 of file quantize-ort.py.
quantize-ort.Quantize.dr |
Definition at line 54 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
|
static |
Definition at line 81 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.check_opset(), and quantize-ort.Quantize.run().
quantize-ort.Quantize.per_channel |
Definition at line 49 of file quantize-ort.py.
Referenced by quantize-ort.Quantize.run().
|
static |
Definition at line 87 of file quantize-ort.py.
|
static |
Definition at line 90 of file quantize-ort.py.
|
static |
Definition at line 84 of file quantize-ort.py.
Definition at line 83 of file quantize-ort.py.
Referenced by transform.Compose.__call__().
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().
|
static |
Definition at line 94 of file quantize-ort.py.
|
static |
Definition at line 81 of file quantize-ort.py.