Prediction or testing process of a single sample image in a siamese network2019 Community Moderator ElectionPybrain recurrent network for regression - how to properly kickstart trained network for predictionsSiamese Network with RGB imagesHow to convert an arbitrary dataset to the siamese network dataset format in caffe?Training a Siamese Network with Caffehow to save, restore, make predictions with siamese network (with triplet loss)PyTorch : predict single exampleImages feeding to deep neural networkValueError when trying to reconfigure Siamese network trained on triplets to operate on pairsKeras: regression with Siamese network?Neural network has <0.001 validation and testing loss but 0% accuracy when doing a prediction
What is the wife of a henpecked husband called?
Logistics of a hovering watercraft in a fantasy setting
Whom do I have to contact for a ticket refund in case of denied boarding (in the EU)?
How to approximate rolls for potions of healing using only d6's?
Did 5.25" floppies undergo a change in magnetic coating?
Rationale to prefer local variables over instance variables?
Replacement ford fiesta radiator has extra hose
What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?
Avoiding unpacking an array when altering its dimension
What are all the squawk codes?
Is my plan for fixing my water heater leak bad?
Where is the line between being obedient and getting bullied by a boss
Cracking Knuckles in Zero Gravity
Canadian citizen, on US no-fly list. What can I do in order to be allowed on flights which go through US airspace?
What am I? I am in theaters and computer programs
Is there any relevance to Thor getting his hair cut other than comedic value?
What is the difference between ashamed and shamed?
Why is working on the same position for more than 15 years not a red flag?
Skis versus snow shoes - when to choose which for travelling the backcountry?
Linear regression when Y is bounded and discrete
Is there a ternary operator in math
What can I substitute for soda pop in a sweet pork recipe?
Compare four integers, return word based on maximum
Use comma instead of & in table
Prediction or testing process of a single sample image in a siamese network
2019 Community Moderator ElectionPybrain recurrent network for regression - how to properly kickstart trained network for predictionsSiamese Network with RGB imagesHow to convert an arbitrary dataset to the siamese network dataset format in caffe?Training a Siamese Network with Caffehow to save, restore, make predictions with siamese network (with triplet loss)PyTorch : predict single exampleImages feeding to deep neural networkValueError when trying to reconfigure Siamese network trained on triplets to operate on pairsKeras: regression with Siamese network?Neural network has <0.001 validation and testing loss but 0% accuracy when doing a prediction
I have basic knowledge of how to train a siamese network. But I am confused about the prediction/testing process.
Here is what i think how it works:
There are two output nodes one is for similarity and another one is for dissimilarit.
After training the network, if want to predict a single image without knowing the label, i will feed the image paired an image from each class of the dataset and take the one with the highest similary node output. (Closest to 1)
.
Please let me know if i am thinking correctly or explain me the correct way.
If i am thinking correctly let me know if there is an efficient way to do this.
machine-learning deep-learning
add a comment |
I have basic knowledge of how to train a siamese network. But I am confused about the prediction/testing process.
Here is what i think how it works:
There are two output nodes one is for similarity and another one is for dissimilarit.
After training the network, if want to predict a single image without knowing the label, i will feed the image paired an image from each class of the dataset and take the one with the highest similary node output. (Closest to 1)
.
Please let me know if i am thinking correctly or explain me the correct way.
If i am thinking correctly let me know if there is an efficient way to do this.
machine-learning deep-learning
Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago
add a comment |
I have basic knowledge of how to train a siamese network. But I am confused about the prediction/testing process.
Here is what i think how it works:
There are two output nodes one is for similarity and another one is for dissimilarit.
After training the network, if want to predict a single image without knowing the label, i will feed the image paired an image from each class of the dataset and take the one with the highest similary node output. (Closest to 1)
.
Please let me know if i am thinking correctly or explain me the correct way.
If i am thinking correctly let me know if there is an efficient way to do this.
machine-learning deep-learning
I have basic knowledge of how to train a siamese network. But I am confused about the prediction/testing process.
Here is what i think how it works:
There are two output nodes one is for similarity and another one is for dissimilarit.
After training the network, if want to predict a single image without knowing the label, i will feed the image paired an image from each class of the dataset and take the one with the highest similary node output. (Closest to 1)
.
Please let me know if i am thinking correctly or explain me the correct way.
If i am thinking correctly let me know if there is an efficient way to do this.
machine-learning deep-learning
machine-learning deep-learning
edited 21 mins ago
desertnaut
18.8k73875
18.8k73875
asked 30 mins ago
Istiaq AnsariIstiaq Ansari
1
1
Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago
add a comment |
Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago
Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago
Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55001787%2fprediction-or-testing-process-of-a-single-sample-image-in-a-siamese-network%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55001787%2fprediction-or-testing-process-of-a-single-sample-image-in-a-siamese-network%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown

Welcome to SO; please share what you have tried so far (as is, your question is rather broad) - see How to create a Minimal, Complete, and Verifiable example.
– desertnaut
20 mins ago