3D CNN target vector

1 view (last 30 days)
Venkat
Venkat on 8 Aug 2019
Commented: cl h on 14 Nov 2019
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 Comments
Huynh Quoc Viet
Huynh Quoc Viet on 30 Oct 2019
I have the same problem, someone know how to fix it. Please!
cl h
cl h on 14 Nov 2019
modify u train set, size 16x1280x3x1x42662, train data should be 4D,not 3D

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!