Filter löschen
Filter löschen

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

4 Ansichten (letzte 30 Tage)
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

Antworten (1)

Neha
Neha am 10 Apr. 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!

Community Treasure Hunt

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

Start Hunting!

Translated by