How to change MNIST data to a 784 matrix?

Hi guys,
I want to train a network using MNIST Data. and I want to use the MNIST data as 784 vector as input, also as output.
Currently I am using reshape for the input, and make the output same as input.
but when I am trying to train using trainNetwork, the size of X and Y do not agree..
any suggestion how to change the MNIST data?

1 Comment

Can you share any code and error messages, so that we can better help you with your issue?

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 14 Oct 2020

Commented:

on 17 Nov 2020

Community Treasure Hunt

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

Start Hunting!