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

Preprocessing scheme #24

Open
sgdy3 opened this issue Mar 18, 2022 · 2 comments
Open

Preprocessing scheme #24

sgdy3 opened this issue Mar 18, 2022 · 2 comments

Comments

@sgdy3
Copy link

sgdy3 commented Mar 18, 2022

I noticed that you have mentioned " we normalized the input to the neural network by dividing each pixel by the standard deviation of all pixel intensities (from all images in D)" in the paper of SigNet. But I haven't found the relative code either in "preprocessing_signature" function or in "set_up_dataloaders". Do I ignore the code in somewhere else? Or this procedure has been discarded already?

@luizgh
Copy link
Owner

luizgh commented Mar 18, 2022

Hello @sgdy3 - which paper are you talking about, the one from IJCNN or Pattern Recognition?
Anyway, if you are training from scratch, this would not matter much to be honest. If you are using the pre-trained models, you should use the preprocessing method used in the example (https://github.com/luizgh/sigver/blob/master/example.py), as this is what was used for training the models that I made public. I hope this helps!

@sgdy3
Copy link
Author

sgdy3 commented Mar 19, 2022

Thanks for your reply.
I'm talking about the paper from IJCNN, named "Writer-independent Feature Learning for Offline
Signature Verification using Deep Convolutional Neural Networks
". It's mentioned there exist an "Normalized the input" step. Causing I'm trying to inplement SigNet from scratch on my own, I want to perform each procedure as much presice as possible. But I have also noticed that in the paper from Pattern Recognition, named " Learning features for offline handwritten signature verification using" deep convolutional neural networks" this normlizing procedure is ommited. So may as you said, the normaliztion doesn't matter much.
Anyway, thanks for your code and reply, they really help me alot. Best wishes!!!

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

No branches or pull requests

2 participants