8000 Deploying Custom model · Issue #12 · ztachip/ztachip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Deploying Custom model #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue 8000 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

Open
bionicimager opened this issue Mar 15, 2024 · 7 comments
Open

Deploying Custom model #12

bionicimager opened this issue Mar 15, 2024 · 7 comments

Comments

@bionicimager
Copy link

I want to deploy my custom model on ztachip. Could you assist me with the deployment process or point me towards documentation?

@bionicimager
Copy link
Author

After pressing the continue button, the process sometimes halts after 5, 10, or 15 minutes, and I encounter the following error message: "libusb_handle_events() failed with LIBUSB_ERROR_NO_DEVICE, unable to purge FTDI RX buffers: LIBUSB_ERROR_NO_DEVICE, error while flushing MPSSE queue: -4, Error while calling vexriscv_is_cpu_running, Could not fetch register 'pc'; remote failure reply 'E0E'." How can I extend the runtime of this process?

@ztachip
Copy link
Owner
ztachip commented Mar 24, 2024

ztachip current supporting layers that are typically found in CNN model such as Mobinet and SSD-Mobinet
It supports tensorflowLite as is without any conversion or retraining, you would use the original tflite binary directly.
These layers are supported:

  • conv3x3
  • conv1x1
  • depth convolution
  • fcn
  • pooling
  • add
  • concat
  • logistic
  • pooling
  • reshape

If you need other layers, you can follow examples under apps/nn/ , there is a file for each layer type implementation.
Also reference to programmer guide on how to program the accelerator, running on RISCV alone would be too slow.
https://github.com/ztachip/ztachip/raw/master/Documentation/ztachip_programmer_guide.pdf

@bionicimager
Copy link
Author

Based on my understanding, I need to create a folder named "pose estimation" let's assume, where I will write two files: posestimation.cpp and posestimation.h. Within this folder, I will also create a subfolder called "kernels," in which I should include three files: posestimation.h, posestimation.m, and posestimation.p. In addition, I need to download a .tflite model and store it in a folder named "fs." Lastly, I must update the code in vision.cpp and test.cpp as needed. Is that correct?

@ztachip
Copy link
Owner
ztachip commented Mar 26, 2024 via email

@ztachip
Copy link
Owner
ztachip commented Mar 30, 2024 via email

@digee-bytes
Copy link

@bionicimager did you deploy the custom model for pose estimation ? Please let me know if you are able to do it.

@ztachip
Copy link
Owner
ztachip commented Aug 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0