Giter Site home page Giter Site logo

aftaab99 / offlinesignatureverification Goto Github PK

View Code? Open in Web Editor NEW
83.0 1.0 30.0 1.82 MB

Writer independent offline signature verification using convolutional siamese networks

License: MIT License

Python 14.98% HTML 1.98% Jupyter Notebook 63.78% CSS 1.48% JavaScript 17.76% Procfile 0.03%
pytorch siamese-cnn siamese-network siamese-neural-network signature-verification machine-learning contrastive-loss react

offlinesignatureverification's Introduction

Shaik Aftaab Zia

Backend developer skilled primarily in NodeJs, Python and Java. Also experienced in Machine learning and NLP.

Connect with me here

Aftaab's github stats

Languages and Tools:



offlinesignatureverification's People

Contributors

aftaab99 avatar dependabot[bot] avatar henriqueca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

offlinesignatureverification's Issues

Error downloading Trained model

Hi,

there's an error download trained model.
This is the error:
python DownloadData.py Downloading dataset... Extracting data... Traceback (most recent call last): File "/Users/politom/Downloads/OfflineSignatureVerification-master/DownloadData.py", line 55, in <module> extract('./Datasets/cedar1.zip') File "/Users/politom/Downloads/OfflineSignatureVerification-master/DownloadData.py", line 39, in extract zip_ref = zipfile.ZipFile(file_path, 'r') File "/Users/politom/.pyenv/versions/3.10.4/lib/python3.10/zipfile.py", line 1267, in __init__ self._RealGetContents() File "/Users/politom/.pyenv/versions/3.10.4/lib/python3.10/zipfile.py", line 1334, in _RealGetContents raise BadZipFile("File is not a zip file") zipfile.BadZipFile: File is not a zip file

Can you restore file download?

Thanks you for all your work. Great job.

PARAM SIZE MISMATCH

RuntimeError: Error(s) in loading state_dict for SiameseConvNet:
Unexpected key(s) in state_dict: "conv4.weight", "conv4.bias", "fc1.bias", "fc2.bias".
size mismatch for conv1.weight: copying a param with shape torch.Size([48, 1, 11, 11]) from checkpoint, the shape in current model is torch.Size([5, 1, 11, 11]).
size mismatch for conv1.bias: copying a param with shape torch.Size([48]) from checkpoint, the shape in current model is torch.Size([5]).
size mismatch for conv2.weight: copying a param with shape torch.Size([128, 48, 5, 5]) from checkpoint, the shape in current model is torch.Size([12, 5, 5, 5]).
size mismatch for conv2.bias: copying a param with shape torch.Size([128]) from checkpoint, the shape in current model is torch.Size([12]).
size mismatch for conv3.weight: copying a param with shape torch.Size([256, 128, 3, 3]) from checkpoint, the shape in current model is torch.Size([16, 12, 3, 3]).
size mismatch for conv3.bias: copying a param with shape torch.Size([256]) from checkpoint, the shape in current model is torch.Size([16]).
size mismatch for fc1.weight: copying a param with shape torch.Size([1024, 40800]) from checkpoint, the shape in current model is torch.Size([1024, 28560]).

Im getting this error in the torch.load call

Working Implementation ?

I’m not sure how to implement this project in working. I checked the help docs (Readme.md) and didn’t find any mentions.

python DownloadData showing error

zipfile.BadZipFile: File is not a zip file
It is showing this error and when i checked the zip locally it is showing unknown format or damaged.

Internal Server Error

hi, i am trying to run this project I am facing these errors,
1st dataset is not getting downloaded
" raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='drive.google.com', port=443): Max retries exceeded with url: /uc?export=download&id=1w2DEYX2pBhBNS2l4sqrl8j-Am4cNSBoZ (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000001CC6940D0A0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond'))
"
2nd i tried to run this project , i found server error.
" Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

Please tell me how to resolve this issue,
I couldn't run the project at all.
Thank you in advance

fronted

hello I want to ask how to use the web demo.
npm install
npm run build
these two command how to use in pycharm or how to get the enviroment.
thank u

About the dataset splitting way

In the paper [SigNet:.... Signature Verification], its author use the way that 'select 50 signer in total 55 signer' to split the train set and test set.
However in this project code, you use the random select 13500*2 positive and negtive sample, and then 'train_test_split(data, test_size=0.15)'. By your way, it's more easy too much than the original method in the paper!!

So, in order to prove the effect of SigNet, I suggest that Reappearance must be same!

numpy version

thank you for this wonderful repo

can you please share exact version of libraries you have used.

pre trained model

hi aftab i tried ur pre trained model on my dataset, but it giving me match = true on every verification pic. I tried on real, forge and fake data and reduce threshold too but nothing work
00100001
real
00101001
real
00102001
real
00200002
fake
02100001
forge
02101001
forge
02102001
forge
can u please check and if you have new saved model can u please give link with threshold value.
Thank you.

No check to see if customer doesn't exist

While clicking verify I am getting error that Something wrong with the server and in terminal, I got "NoneType" object is not iterable in the line
anchor_images = [Image.open(BytesIO(x)) for x in get_file_from_db(buffer(customer_id))]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.