- Instructions will be generated for specified network(net) and specified bitstream('zcu102_single') using hW.compile.
- Those instructions will be deployed on external DDR and DL IP will be configured in hW.deploy stage.
- hW.predict command provides input image for network execution on FPGA and captures output data along with fps information.
Deep Learning toolbox commands sent
2 ビュー (過去 30 日間)
古いコメントを表示
Hello, below I attached some matlab code and Iam wondering what exactly is deployed onto the board and which part of it.
Iam also wondering is Matlab necessary to run further commands after hw.deploy is done or could I use other Interface.
net = resnet18
hTarget = dlhdl.Target('Xilinx','Interface','Ethernet','IPAddress','192.168.1.101');
hW = dlhdl.Workflow('Network', net, 'Bitstream', 'zcu102_single', 'Target', hTarget)
hW.compile
hW.deploy
I = imread('peppers.png');
I = I(1:224,1:224,1:3);
[prediction, speed] = hW.predict(single(I),'Profile','on');
label = classify(net, I);
figure;
imshow(I);
text(10,20,char(label),'Color','white')
0 件のコメント
回答 (1 件)
Bharathi Yogaraj
2023 年 6 月 27 日
In above script,
For second question, After hW.deploy command, if you would like to feed input from another source/way , should implement system integration interfaces as specified in this documnetation page: https://www.mathworks.com/help/deep-learning-hdl/ug/interface-with-the-deep-learning-processor-ip-core.html.
Here is another example on system integration: https://www.mathworks.com/help/deep-learning-hdl/ug/deploy-and-verify-yolo-v2-vehicle-detector-on-fpga.html
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Time Series and Sequence Data Networks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!