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

MNIST siamese network translated from python example #1335

Merged
merged 6 commits into from
May 8, 2024

Conversation

ivokwee
Copy link
Contributor

@ivokwee ivokwee commented May 30, 2022

Roughly the same as the python code. Could not really figure out how to implement the lambda layer with euclidean distance. Instead, this uses a subtract layer and one extra FC layer. Seems to be converging nicely.

@ivokwee ivokwee changed the title translated from python example MNIST siamese network translated from python example May 30, 2022
Copy link
Member

@t-kalinowski t-kalinowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for the PR! It is very welcome.

We're in the process of preparing a new site where examples and vignettes like this will live; I'll include this in the new website examples when it becomes public.

Can you include in the header comments your name as you'd like it to appear, and any other relevant links or names for attribution (e.g., link to the equivalent Python example).

Thank you!

@ivokwee
Copy link
Contributor Author

ivokwee commented Jun 6, 2022

I have added my name but I didn't see other people doing it, that's why I didn't bother. Also about the original python code, I don't know. I took the example python code in your repo which also didn't state where it came from. Looking forward seeing the new site. Keras for R is awesome.

@t-kalinowski t-kalinowski merged commit 8a216af into rstudio:main May 8, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants