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 visualización (últimos 30 días)
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

Respuestas (1)

Neha
Neha el 10 de Abr. de 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!

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by