-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Siamese network tutorial #453
Conversation
1dc00a9
to
abc51e8
Compare
abc51e8
to
3e46904
Compare
|
||
To create a train database of 100000 pairs of images into a folder called `siamesedb`: | ||
```sh | ||
$ cd $DIGITS/examples/siamese |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This envvar is referred to as $DIGITS_HOME
elsewhere in the docs.
There's a typo in the title for |
|
||
# save test images (one for each label) | ||
testImageSameClass = None | ||
testImageDifferentClass = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we create a few more test images? They're really hard to create without this script, and I find myself wanting to play with a few more examples.
Sweet tutorial! It worked without a hitch for me. I've added several comments above, but they're all pretty minor. |
3e46904
to
8c220bd
Compare
Thanks for the review. I changed the Python script to generate 10 test images of each type (same and different classes). |
|
||
![Test Different Class Channels](different-class-channels.png) | ||
|
||
Now run the same test using image `train_test_same_class.png`. In this case this maps two different representations of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you mean val_test_same_class_0.png
Awesome. If you can address the little typo I mentioned, let's go ahead and merge this. |
8c220bd
to
04e38c8
Compare
No description provided.