Neural Network Training - Input Data with Targets
Hello dear community,
I'm pretty new to all neural network training subjects and stuff so be gentle with me and all the glossary that is required, I'm really sorry :)
I'm trying to train a neural network model that I've imported from MATLAB. The model should perform depth estimation - the input layer of the net should recieve RGB images, sized 384X384 , and the output supposedly should give me back 2D images, of the same input image, but the estimated depth of each pixel in the image.
The problem is that I really don't know how to define the input in the following command line:
netTrained = trainnet(images,net,lossFcn,options)
I thought about defining 'images' as a combined dataset cell (1X2) , when I'm combining between the 2D RGB images (this is the 1x1 element within the cell), and the depth ground truth depth corresponding images datastores (this is the 1X2 elemnet within the cell). when the ground-truth should be my targets in that case because this is what used in order to calculate the loss function.
Is it the correct way to define the input ?
If it is the correct way, how should I define the validation data accordingly ?
is it fine to do the same for the validation data as the images combined dataset ?
Hope someone can help me please,
I'm really confused.
Thanks in advance,
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!