fix suffix (#1345)
parent
ccc21289d1
commit
3eb53ad891
|
@ -90,8 +90,8 @@ def get_models(deploy_cfg: Union[str, mmengine.Config],
|
||||||
tensorrt=lambda file: re.sub(r'\.[a-z]+', '.engine', file),
|
tensorrt=lambda file: re.sub(r'\.[a-z]+', '.engine', file),
|
||||||
openvino=lambda file: re.sub(r'\.[a-z]+', '.xml', file),
|
openvino=lambda file: re.sub(r'\.[a-z]+', '.xml', file),
|
||||||
ncnn=lambda file: re.sub(r'\.[a-z]+', '.param', file),
|
ncnn=lambda file: re.sub(r'\.[a-z]+', '.param', file),
|
||||||
ascend=lambda file: re.sub(r'\.[a-z]+', '.rknn', file),
|
ascend=lambda file: re.sub(r'\.[a-z]+', '.om', file),
|
||||||
rknn=lambda file: re.sub(r'\.[a-z]+', '.om', file),
|
rknn=lambda file: re.sub(r'\.[a-z]+', '.rknn', file),
|
||||||
coreml=lambda file: re.sub(r'\.[a-z]+', '.mlpackage', file),
|
coreml=lambda file: re.sub(r'\.[a-z]+', '.mlpackage', file),
|
||||||
snpe=lambda file: re.sub(r'\.[a-z]+', '.dlc', file))
|
snpe=lambda file: re.sub(r'\.[a-z]+', '.dlc', file))
|
||||||
backend_weights = dict(
|
backend_weights = dict(
|
||||||
|
|
Loading…
Reference in New Issue