필터 지우기
필터 지우기

how to get PointNet network (no pointnet++) Layers?

조회 수: 3 (최근 30일)
mohammad
mohammad 2023년 10월 10일
편집: Venu 2023년 12월 27일
Hi everybody
I train pointnet network in this matlab example:
But I can't use this network in my work.
I need a MATLAB net (series network or DAG network) to be used in "DeepLearning HDL ToolBox Support Package For Xilinx FPGA And SoC Device".
Or a version of PointNet open with "DeepNetworksDesigner".
Note: Only PointNet is required, it is not possible to use PointNetPlusPlus.

답변 (1개)

Venu
Venu 2023년 12월 27일
편집: Venu 2023년 12월 27일
I can suggest you a series network based on https://de.mathworks.com/help/vision/ug/point-cloud-classification-using-pointnet-deep-learning.html this documentation. But this is just a simplified example and should be adjusted to match your specific PointNet architecture.
% Define the layers for the PointNet model
inputLayer = imageInputLayer([3, 1, 1], 'Name', 'input', 'Normalization', 'none');
convLayer1 = convolution2dLayer(64, 1, 'Name', 'conv1', 'Padding', 'same');
convLayer2 = convolution2dLayer(64, 1, 'Name', 'conv2', 'Padding', 'same');
maxPoolLayer = maxPooling2dLayer([3, 1], 'Stride', [2, 1], 'Name', 'maxpool');
fullyConnectedLayer1 = fullyConnectedLayer(128, 'Name', 'fc1');
fullyConnectedLayer2 = fullyConnectedLayer(10, 'Name', 'fc2');
softmaxLayer = softmaxLayer('Name', 'softmax');
classificationLayer = classificationLayer('Name', 'classoutput');
% Assemble the layers into a Layer Graph
lgraph = layerGraph([inputLayer, convLayer1, reluLayer, convLayer2, reluLayer, maxPoolLayer, fullyConnectedLayer1, reluLayer, fullyConnectedLayer2, softmaxLayer, classificationLayer]);
% Convert the Layer Graph to a Series Network
net = assembleNetwork(lgraph);

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by