forked from quic/ai-hub-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.py
23 lines (19 loc) · 748 Bytes
/
demo.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ---------------------------------------------------------------------
# Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
# ---------------------------------------------------------------------
from qai_hub_models.models._shared.imagenet_classifier.demo import imagenet_demo
from qai_hub_models.models.mobilenet_v3_large_quantized.model import (
MODEL_ID,
MobileNetV3LargeQuantizable,
)
from qai_hub_models.utils.base_model import TargetRuntime
def main(is_test: bool = False):
imagenet_demo(
MobileNetV3LargeQuantizable,
MODEL_ID,
is_test,
available_target_runtimes=[TargetRuntime.TFLITE],
)
if __name__ == "__main__":
main()