How can I use prediction targets on an intermediate layer?

1 回表示 (過去 30 日間)
Fernando Rodi
Fernando Rodi 2020 年 10 月 20 日
回答済み: cui,xingxing 2020 年 11 月 21 日
I'm trying to implement ArcFace on Matlab for image classification using a custom layer before the softmax loss. In that custom layer I need to do a matrix multiplication between the calculated logits and the targets matrix, but I can't find a way to import them. I can't implement it on the final classification layer because this layer needs trainable parameters and in the template there is no option to define them. Any ideas?

回答 (1 件)

cui,xingxing
cui,xingxing 2020 年 11 月 21 日

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by