Error Caused by: Layer 'cnn|concatenate': Input size mismatch. Size of input to this layer is different from the expected
    4 次查看(过去 30 天)
  
       显示 更早的评论
    
Hi everyone,
I am trying to train a pointpiller network using code and functions from this example:
However, at the final stage,
[detector,info] = trainPointPillarsObjectDetector(cdsAugmented,detector,options);
I am receiving following error,
Processing data in minibatchqueue....
*************************************************************************
Data processing complete.
Error using dlnetwork/initialize
Invalid network.
Error in trainPointPillarsObjectDetector (line 182)
    dlnet = initialize(dlnet);
Error in TrainingPointPiller (line 231)
    [detector,info] = trainPointPillarsObjectDetector(cdsAugmented,detector,options);
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 289(S) × 248(S) × 128(C) × 1(B))
        from layer 'cnn|up2|bn' (size 290(S) × 248(S) × 128(C) × 1(B))
        from layer 'cnn|up3|bn' (size 292(S) × 248(S) × 128(C) × 1(B))
Could you please point me to where I am making a mistake?
P.S. The above example was to train a point piller on two class (car and Truck), however, I modiefied the code and training it on just one class i.e. Car.
Thank you very much for your time :)
3 个评论
  Dmitry Rogachev
 2023-3-20
				Try these values as in the example
xMin = 0.0;     % Minimum value along X-axis.
yMin = -39.68;  % Minimum value along Y-axis.
zMin = -5.0;    % Minimum value along Z-axis.
xMax = 69.12;   % Maximum value along X-axis.
yMax = 39.68;   % Maximum value along Y-axis.
zMax = 5.0;     % Maximum value along Z-axis.
回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Recognition, Object Detection, and Semantic Segmentation 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


