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










0















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.










share|improve this question
























  • 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















0















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.










share|improve this question
























  • 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













0












0








0








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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

















  • 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












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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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







這個網誌中的熱門文章

Runtime problems in TestNG asserts2019 Community Moderator ElectionHow do you assert that a certain exception is thrown in JUnit 4 tests?differences between 2 JUnit Assert classesHow do I use Assert to verify that an exception has been thrown?Best practice for Python assertWhat is the “assert” function?What does the Java assert keyword do, and when should it be used?What is the use of “assert” in Python?PHPUnit assert that an exception was thrown?What is “assert” in JavaScript?Asserting in testng using containing

(unchecked) unchecked cast required: OnSuccessListener found: Uri2019 Community Moderator ElectionHow do I address unchecked cast warnings?Android AlarmManager for periodical sensor readingWhy don't Java's +=, -=, *=, /= compound assignment operators require casting?I am trying to set alarm on specific time using alarm manager but alarm initiated instantly?setText on button from another activity androidget around of error 'can not resolve symbol'Saving ToggleButton state in ListView by using SharedPreferencesAdding Social Media Share Logic From Firebase in Androidjava.lang.NullPointerException when invoking onLoadFinished()Search Firestore query don't show data in RecycleView

1