Concatenation of 2 different feature maps of different dimension
Afficher commentaires plus anciens
Hi all,
In CNN, 2 feature maps have different dimensions, one is 32x32x1024 and another one is 16x16x2048. If I want to merge them without any change in the feature map, what will be the procedure?
I'm using MATLAB 2020b.
Thanks in advance
Réponses (1)
KALYAN ACHARJYA
le 24 Mar 2021
Modifié(e) : KALYAN ACHARJYA
le 24 Mar 2021
0 votes
Have you refered the following links? (External Links)
If there is no other option left, you may have to choose from the following options -
- Pad the feature 1 vector with zero to make both x & y are equal.
- Make feature 2_modified=feature_2(1:2:end,1:2:end,:)
- Resize any one, so that both can be perfectly concatenate
Hope it helps
2 commentaires
Susama Bagchi
le 24 Mar 2021
KALYAN ACHARJYA
le 24 Mar 2021
Modifié(e) : KALYAN ACHARJYA
le 24 Mar 2021
Yes, these lines are not MATLAB, but you can get the idea, so that it can be implemented in MATLAB as well.
Catégories
En savoir plus sur Data Import and Analysis dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!