anguyen8 / deepface-emd Goto Github PK
View Code? Open in Web Editor NEWCode for CVPR 2022 https://arxiv.org/abs/2112.04016 DeepFace-EMD Re-ranking Using Patch-wise Earth Movers Distance Improves Out-Of-Distribution Face Identification
Code for CVPR 2022 https://arxiv.org/abs/2112.04016 DeepFace-EMD Re-ranking Using Patch-wise Earth Movers Distance Improves Out-Of-Distribution Face Identification
Hi @anguyen8,
Thank your project.
I tried to convert resnet18_110.pth to onnx model, but the error:
"Unsupported: ONNX export of operator adaptive_avg_pool2d, output size that are not factor of input size. Please feel free to request support or submit a pull request on PyTorch GitHub."
Can you help me to solve this problem? Thank you.
I appreciate your insightful work, could you please release the code of LMK method?
Good job. I read the paper and code carefully, but I didn't find the training script. Can you provide some training script examples? thank you.
Hello!
Have you tried to use EMD with image features produced by visual transformer?
Looks like the last transformer layer of typical ViT outputs embeddings for each image patch, which is similar to the conv-features you use in the paper.
Is there any disadvantages to use such transformer features in your DeepFace-EMD method?
The only difference I see is that patch embeddings in ViT interact with each other throughout the whole image because of the attention mechanism, while conv-features are more local.
Thank you!
In the implementation for Spatial Correlation (emd_similarity function in emd.py), u and v are computed based on the distance instead of the similarity. Is it correct?
elif method == 'sc':
u = torch.sum(dis, 2)
u = u / (u.sum(dim=1, keepdims=True) + 1e-7)
v = torch.sum(dis, 1)
v = v / (v.sum(dim=1, keepdims=True) + 1e-7)
Hello, Thanks for the great works!
I read the paper! I am wondering whether you have tested in arcface with resnet50 or larger networks? Would it still outperform other model without rank2? Thank you!
Meaningful work, when I want to use 128 * 128 to align people's faces, but I don't find ref_pts For 128x128? I haven't found the converted code, can you provide it?
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.