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
0 个评论
回答(1 个)
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!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!