SigmoidLayer wont work while implementing on ZC706
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
layers = [
imageInputLayer([800,1,1], 'Name', 'input','Normalization', 'none') % input layers (800, 1, 1)
% encoder
convolution2dLayer([3,1], 64, 'Padding', 'same', 'Stride', [1,1], 'Name', 'enc_conv1')
reluLayer('Name', 'enc_relu1')
convolution2dLayer([3,1], 32, 'Padding', 'same', 'Stride', [1,1], 'Name', 'enc_conv2')
reluLayer('Name', 'enc_relu2')
convolution2dLayer([3,1], 16, 'Padding', 'same', 'Stride', [1,1], 'Name', 'enc_conv3')
reluLayer('Name', 'enc_relu3')
convolution2dLayer([3,1], 4, 'Padding', 'same', 'Stride', [1,1], 'Name', 'enc_conv4')
reluLayer('Name', 'enc_relu4')
% decoder
convolution2dLayer([3,1], 16, 'Padding', 'same', 'Stride', [1,1], 'Name', 'dec_conv1')
reluLayer('Name', 'dec_relu1')
convolution2dLayer([3,1], 32, 'Padding', 'same', 'Stride', [1,1], 'Name', 'dec_conv2')
reluLayer('Name', 'dec_relu2')
convolution2dLayer([3,1], 64, 'Padding', 'same', 'Stride', [1,1], 'Name', 'dec_conv3')
reluLayer('Name', 'dec_relu3')
convolution2dLayer([3,1], 1, 'Padding', 'same', 'Stride', [1,1], 'Name', 'dec_output')
sigmoidLayer('Name', 'sigmoid_output')
];
hTarget = dlhdl.Target("Xilinx",Interface="Ethernet",IPAddress="192.168.1.101");
hdlsetuptoolpath('ToolName', 'Xilinx Vivado', 'ToolPath', 'E:\Xilinx\Vivado\2024.2\bin\vivado.bat');
hW = dlhdl.Workflow(Network=net,Bitstream='zc706_single',Target=hTarget);
dn = compile(hW);
deploy(hW);
while I deploy the sigmoidlayer the output from ZC706 fpga the output is zero after sigmoidlayer, and the middle layers output's parameters is correct, it seems that the sigmoidlayers have some problems.How can I fix or it is a bug?
0 commentaires
Réponses (1)
Kiran Kintali
le 5 Mar 2025
Thank you for reporting this. Development team is able to reproduce the issue and will post an update soon.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!