XiaoMi / mace-models

Mobile AI Compute Engine Model Zoo
Apache License 2.0
371 stars 73 forks source link

run on PC #23

Closed CheungBH closed 4 years ago

CheungBH commented 4 years ago

Hello. I wonder whether the converted models can be run on the PC. If so, are there any examples for deployment?

lu229 commented 4 years ago

@CheungBH Mace can run on PC with no optimization,you can reference Advanced usage for Bazel users and set the target_abis to [host] in the yml file.

CheungBH commented 4 years ago

Well, I see. By the way, after converting the model with setting the target_abis to [host], how can I deploy it on PC? Are there any simple demos like image classification or object detection on PC with a converted mace model?

lu229 commented 4 years ago

@CheungBH , Sorry, there is no demos for PC, MACE is developed for mobile devices. Perhaps you can reference the code in /mace/mace/tools/mace_run.cc file and write your own app on PC.

CheungBH commented 4 years ago

Thank you. BTW, are there any official demos apart from image classification? like object detection and pose estimation, etc.

lu229 commented 4 years ago

@CheungBH Sorry, but perhaps you can reference the mace-kit project