sir i'm using densenet201 for training my model . my input images of size 224x224x1 but the input layer accept only of size 224x224x3 . how to solve this issue and suggest som

1 vue (au cours des 30 derniers jours)
sir i'm using densenet201 for training my model . my input images of size 224x224x1 but the input layer accept only of size 224x224x3 . how to solve this issue and suggest some solution

Réponses (1)

Neha
Neha le 10 Avr 2024
Hi Ishwarya,
I understand that you're currently working on training a model using DenseNet201, and you've encountered an issue regarding the input image size, particularly the number of channels. DenseNet201 is designed to work with images that have three channels (RGB), but it seems your dataset consists of grayscale images (1 channel). Please use RGB images as input for training with DenseNet201 to effectively resolve the input dimension issue.
Hope this helps!

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by