3D CNN target vector

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 commentaires

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

Connectez-vous pour commenter.

Réponses (0)

Catégories

Question posée :

le 8 Août 2019

Commenté :

le 14 Nov 2019

Community Treasure Hunt

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

Start Hunting!

Translated by