This is a paper proposing a siamese network for signature verification. Essentially, it can also be applied to other image matching tasks. The network, called SigNet, has the main branch to encode a signature image into a vector. With the signature pair, the encoded vectors are compared using contrastive loss...
[more]
Copying weight tensors from PyTorch to Tensorflow (and back)
This is a remake of a previous post due to its
popularity. Let’s consider a PyTorch network and a Tensorflow/Keras network. If
they are in exactly the same architecture, we should be able to copy the weight
parameters from one to another. But how?
[more]
Cao et al (2019) OpenPose
This is a library Goal of the paper: Human 2D pose estimation by identifying keypoints,
supporting multiple persons in the same image.
[more]
Porting neovim config to lua
In a previous post I mentoned about bringing the old vim config to neovim by making symlinks between ~/.vim to ~/.config/nvim as well as ~/.vimrc to ~/.config/nvim/init.vim. But as I see neovim getting mature, seems I don’t need to care about vim config any more. While the .vim files are...
[more]
Arpa's trick explained
Recently I encountered with the problem of range minimum query (RMQ) and there are many ways to solve it, depending on the trade off between preprocessing complexity and per-query runtime complexity. Block-paritioning and a sparse table would be clever techniques. A hybrid of both would need some more code but...
[more]