Data input for CNN training

I prepared the input data for CNN training using format as below:
m x 2 table
Predictors Response
__________________ ________
{224×224×3 double} 2
{224×224×3 double} 7
{224×224×3 double} 9
{224×224×3 double} 9
How can I transfer this data format into the format which trainNetwork function can accept?

 采纳的回答

Swetha Polemoni
Swetha Polemoni 2020-12-9

0 个投票

Hi Junjie Huang
You may find this answer helpful.

1 个评论

Hi Swetha,
Thanks for directing me to the answer.
May I ask if I want to use the datastore related functions, e.g. "splitEachLabel", is there any way to turn the table into required datastore format, with label attribute?
Thanks.
Best,
Junjie

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning for Image Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by