I have created a 3D CNN in MATLAB 201a.
My 3D - input size is 16x1280x3x42662 - height x width x depth x n:of observations. My target vector is a categorical array of size: 42662x1.
While I train, I get an error: "Number of observations in X and Y disagree." Can someone please help me on where I am going wrong.
Thanks for your time and help.

5 Kommentare

KSSV
KSSV am 8 Aug. 2019
Huumh.....the trainNetwork is pretty confusing thing. Are you folloiwng the below link?
Venkat
Venkat am 8 Aug. 2019
Yes, I am.
Srivardhan Gadila
Srivardhan Gadila am 16 Aug. 2019
Is the network's output size "42662x1" excluding the number of observations?
Huynh Quoc Viet
Huynh Quoc Viet am 30 Okt. 2019
I have the same problem, someone know how to fix it. Please!
cl h
cl h am 14 Nov. 2019
modify u train set, size 16x1280x3x1x42662, train data should be 4D,not 3D

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Gefragt:

am 8 Aug. 2019

Kommentiert:

am 14 Nov. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by