UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Adventurer
Adventurer
349 Views
Registered: ‎12-18-2018

Adding and integrating custom third party tensorflow library to sdsoc

Hi,

I am working on AI H/W acceleration on ZCU104 target board. A part of my work I want to add the custom  AI based tensorflow framework and application to sdosc and build to convert to RTL code and also needs profiling information. Could anyone suggest  me how to integrate customized Tensorflow based application to sdsoc to build .

Thanks,

Raghuram

 

 

0 Kudos
6 Replies
Moderator
Moderator
331 Views
Registered: ‎08-20-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi @raghuram1a 

Please refer below two documents

https://www.xilinx.com/support/documentation/user_guides/ug1327-dnndk-user-guide.pdf

https://www.xilinx.com/support/documentation/user_guides/ug1331-dnndk-sdsoc-ug.pdf

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Adventurer
Adventurer
318 Views
Registered: ‎12-18-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi Nutag,

Thanks for reply. I have gone through the document ug1331-dnndk-sdsoc. From the document page 12  i see that there is only support for caffe model is given,  with the below steps

Prerequisites
• Floating-point ResNet50 model file for Caffe ( resnet50.prototxt )
• Pre-trained weights file for ResNet50 with Caffe ( resnet50.caffemodel )
• calibration dataset
Extract 100 to 1000 images from ImageNet training dataset, and change the path in
resnet50.prototxt accordingly.
Steps
1. Convert ResNet-50 floating-point model to quantized INT8 model with the Deep Compression Tool
(DECENT).
decent
quantize
-model float.prototxt
-weights float.caffemodel
-output_dir decent_output
-method 1
\
\
\
\
Files deploy.prototxt and deploy.caffemodel are generated.

but tensorflow support and steps are not mentioned in document. I want to know the tensorflow steps .

My query is that this is dnndk integrating to sdsoc. But i want to integrate third party AI Tensorflow framework to sdsoc may I know the steps and references.

Thanks,

Raghuram

 

0 Kudos
Adventurer
Adventurer
307 Views
Registered: ‎12-18-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi Nutag,

Thanks for support. with out using  DNNDK tools and sdk support , I have  my own C/C++ AI based machine learning application with 3D CNN uisng tensorflow framework and want to integrate to sdosc to have H/W acceleration  and generate RTL code .  Is it possibe to integrate to sdsoc. Could you please share the steps how to proceed.

Thanks,

Raghuram

0 Kudos
Moderator
Moderator
296 Views
Registered: ‎08-20-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi @raghuram1a 

Ok. Got it.

Please have a look at the xilinx ML suite

https://github.com/Xilinx/ml-suite

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Adventurer
Adventurer
274 Views
Registered: ‎12-18-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi Nutang,

 I have gone through ml-suite. I have found examples on caffe model. But My actual requirement is I have my own open source  trained model based on tensorflow with 2d or 3d  convolution network  along with application to provide inference so I want to this tarined model along with Application to port to sdsoc development environment to generate RTL code. Could you help me on this.

Thanks,

Raghuram

0 Kudos
Moderator
Moderator
255 Views
Registered: ‎08-20-2018

Re: Adding and integrating custom third party tensorflow library to sdsoc

Hi @raghuram1a 

This forum section is specific to SDSoC and reVISION.

I request you to post your question in below section.

https://forums.xilinx.com/t5/Xilinx-ML-Suite/bd-p/ML

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos