-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EdgeTPU Backend] Organization of this project #1621
Labels
Comments
Thanks! 🎉 |
dayo09
changed the title
[EdgeTPU Backend for ONE-vscode] Organization of this project
[EdgeTPU Backend] Organization of this project
Sep 15, 2023
Hyeon-Uk
assigned imsw0529, Hyeon-Uk, hohee-hee, profornnan and VictorSaesol and unassigned imsw0529, Hyeon-Uk and hohee-hee
Sep 15, 2023
This was referenced Sep 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
WHY
EdgeTPU is a processing unit which is optimized for tensor operation. It supports faster inference of deep learning models in on-device environment. However, it can’t inference every type of models. Only
.tflite
model that is already compiled with EdgeTPU Compiler can be executed on EdgeTPU. Therefore, EdgeTPU can run inference a TensorFlow Lite Model that is compiled with EdgeTPU Compiler provided by Google Coral.Currently, however, the compiler is only performed in the CLI environment so it cannot provide a better developer experience. So we are going to add a new vscode extension to do above process on ONE-vscode which consists of GUI environment. Through this project, users are expected to use EdgeTPU more intuitively and conveniently.
WHAT
This project is to make vscode extension to use EdgeTPU compiler, which supports faster inference of deep learning model in on-device environment, in ONE conveniently.
Functions
Implementation of Backend Interface for EdgeTPU
The main function of this project is to implement a Backend Interface for EdgeTPU Compiler in ONE-vscode. The goal is to provide an environment where users can install EdgeTPU compiler with clicking a button instead of entering command line. In addition, the extension has a capability to convert standard tflite model to EdgeTPU’s tflite model without entering CLI commands.
Visualization EdgeTPU’s tflite model in ONE Explorer
One of the most important elements of extension of vscode is to visualize all models and files with tree structure. In this case of EdgeTPU, model files are compiled to tflite format but this appears same with general tflite models. Therefore, our new extension have to support visualization after considering how to distinguish naturally those two types of tflite models(general and EdgeTPU’s).
HOW
Mockup
.tflite
by Base ModelSome part of the
HOW
had to be discussed but there are some ambiguous parts to design the function. So we need some discussion about those parts like division of general tflite model and compiled tflite model with EdgeTPU or hiding some unnecessary steps. We are planning to create a new issue about it, so we would appreciate it if you could discuss those parts with us. Thank you.RESULT
Expectation
The text was updated successfully, but these errors were encountered: