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 个评论

Huumh.....the trainNetwork is pretty confusing thing. Are you folloiwng the below link?
Yes, I am.
Is the network's output size "42662x1" excluding the number of observations?
I have the same problem, someone know how to fix it. Please!
modify u train set, size 16x1280x3x1x42662, train data should be 4D,not 3D

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Image Data Workflows 的更多信息

提问:

2019-8-8

评论:

2019-11-14

Community Treasure Hunt

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

Start Hunting!

Translated by