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 次查看(过去 30 天)
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

回答(1 个)

Neha
Neha 2024-4-10
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!

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by