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

조회 수: 22 (최근 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 CenterFile Exchange에서 Sequence 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