multiple input to a pre-trained model
Show older comments
I have three classes folders (Good, Moderate and Severe)
Each class folder of them has (5 subolders) which are (Original images, Red, Blue, Green, HUE, Value),
where (Red, Blue, Green, HUE,Value) are subolders contain images after applying filters on the (Original images folder).
I am using a pre-trained model (resnet50 or any other model you suggest), all images in all the folders are numbered in the same sequence (each subfolder contains images from 1 to 200).
How to train the model by taking each single image from subfolder(Original images),and to apply it in parralel with the images from the other subfoldere (Red, Blue, Green, HUe,Value) to the input of the model.
Note: for the validation, i need to use only the (original_images folder) and the model should fetch the other images from the other subfolders
Next is the matlab code, thanks:
1 Comment
Rayan Matlob
on 6 Jul 2022
Edited: Rayan Matlob
on 6 Jul 2022
Answers (0)
Categories
Find more on Get Started with Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!