This is a custom-built siamese, one-shot learning network for signature verification
-
Ensure you have Keras 2.3+ and TensorFlow 2.0+
pip install keras
pip install tensorflow
-
Download the clean dataset from here (Original dataset from here)
wget https://www.dropbox.com/s/mlzce0xen9sv5of/data.zip?dl=1
-
Unzip the dataset
unzip data.zip?dl=1 -d data
Navigate to correct directory and run
python train.py
Paramater | Location |
---|---|
Epochs | train.py |
Optimization Function | train.py |
Batch Size | train.py |
Hard Triplets | train.py |
Random Triplets | train.py |
Input Shape | helper_functions.py |
Network | helper_functions.py (create_network) |
Triplet Loss Alpha | helper_functions.py (create_model) |