Encountering errors while training my own data using pointpillar documentation from matlab

2 ビュー (過去 30 日間)
gaurav
gaurav 2024 年 2 月 20 日
回答済み: Hornett 2024 年 9 月 9 日
doTraining= true
if doTraining
[detector,info] = trainPointPillarsObjectDetector(cds,detector,options);
else
pretrainedDetector = load('pretrainedPointPillarsDetector.mat','detector');
detector = pretrainedDetector.detector;
end
while running this code from pointpillar documentation on my own data i am encountering this error
Error using dlnetwork/initialize
Invalid network.
Error in trainPointPillarsObjectDetector (line 210)
dlnet = initialize(dlnet);
Caused by:
Layer 'cnn|concatenate': Input size mismatch. Size of input to this layer is different from the expected input size.
Inputs to this layer:
from layer 'cnn|up1|bn' (size 69(S) × 125(S) × 128(C) × 1(B))
from layer 'cnn|up2|bn' (size 70(S) × 126(S) × 128(C) × 1(B))
from layer 'cnn|up3|bn' (size 72(S) × 128(S) × 128(C) × 1(B))
so how to overcome this and how to modify the layer and my data

回答 (1 件)

Hornett
Hornett 2024 年 9 月 9 日
Hi Gaurav,
The error you're encountering indicates a size mismatch in the inputs to the 'concatenate' layer in your PointPillars network. Here are concise steps to troubleshoot and resolve this issue:
1. Verify Input Data Dimensions
Ensure that the input point cloud dimensions match the expected input size for the PointPillars network.
2. Check Network Configuration
Review the configuration of the layers involved in the concatenation operation to ensure they produce compatible output sizes.
3. Data Preprocessing
Double-check your data preprocessing steps, such as voxelization and feature extraction, to ensure they are correctly implemented.

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by