Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to build a model with two input and no output label? #11066

Closed
scut-salmon opened this issue Sep 3, 2018 · 0 comments
Closed

how to build a model with two input and no output label? #11066

scut-salmon opened this issue Sep 3, 2018 · 0 comments
Labels
type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited.

Comments

@scut-salmon
Copy link

Hi,
I would like to build a model with two input and no output label, the example is just like thsi:
image
and one of the input is image, another input is word embedding vectors, I would like to let them input two different network respectively(this two network could be simple, I was not cared about how to build it now), and output two same dimension vectors, finally I would set the loss function as mean squared error.
when I predict my image and word embedding vectors, I hope my model trained could correctly tell me the distance(MSE) of this two input
I have google it before and found the two input layer question
#148
and no output label question
#7882
It seems not really the situation I was stuck in, and I was worry that I wrote the incorrect code resulting in the wrong result.
Any suggestion or reference project would be appreciated
Thanks,
Zhang

@gabrieldemarmiesse gabrieldemarmiesse added the type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited. label Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:support User is asking for help / asking an implementation question. Stackoverflow would be better suited.
Projects
None yet
Development

No branches or pull requests

3 participants