How to construct a Siamese network using Matlab Neural Network Toolbox?

36 ビュー (過去 30 日間)
Linfang Xiao
Linfang Xiao 2018 年 5 月 9 日
回答済み: Shai Kendler 2020 年 4 月 5 日
I want to construct a Siamese network. Is it can be realized by using Matlab Neural Network Toolbox? Can anyone give me some suggestion?
here is an error: Unable to add input layer to layer graph because the graph already contains one input layer. Layer graphs can contain only one input layer.

回答 (3 件)

xiao
xiao 2018 年 5 月 10 日
you can refer the demo of deep learning, maybe that will help you how to construct a network.
  1 件のコメント
Von Duesenberg
Von Duesenberg 2018 年 5 月 10 日
The OP is interested in a very specific type of network and I don't think the demos from the documentation tackle this aspect. Maybe this link can help: https://github.com/lenck/siamese-mnist

サインインしてコメントする。


Anh Tran
Anh Tran 2019 年 9 月 26 日

Shai Kendler
Shai Kendler 2020 年 4 月 5 日
Thanks Anh Tran,
The example in the link you provided works very good for me. However, I don't have a good gpu. When I set execution environment 'parallel' it uses as single CPU. Please advise.
Thanks, Shai

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by