Giter Club home page Giter Club logo

actr's Introduction

Correspondence Transformers With Asymmetric Feature Learning and Matching Flow Super-Resolution(ACTR)

This is the official code for ACTR implemented with PyTorch.

Environment Settings

git clone https://github.com/YXSUNMADMAX/ACTR
cd ACTR
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install -U scikit-image
pip install git+https://github.com/albumentations-team/albumentations
pip install tensorboardX termcolor timm tqdm requests pandas

Evaluation

  • Download pre-trained weights on Link

  • Result on SPair-71k: python test.py --datapath "/path_to_dataset" --pretrained "/path_to_pretrained_model/spair" --benchmark spair

  • Results on PF-PASCAL: python test.py --datapath "/path_to_dataset" --pretrained "/path_to_pretrained_model/pfpascal" --benchmark pfpascal

Acknowledgement

We borrow code from public projects (Thanks a lot !!!). We mainly borrow code from CATs.

BibTeX

If you find this research useful, please consider citing:

@inproceedings{sun2023correspondence,
  title={Correspondence Transformers With Asymmetric Feature Learning and Matching Flow Super-Resolution},
  author={Sun, Yixuan and Zhao, Dongyang and Yin, Zhangyue and Huang, Yiwen and Gui, Tao and Zhang, Wenqiang and Ge, Weifeng},
  booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  pages={17787--17796},
  year={2023}
}

actr's People

Contributors

yxsunmadmax avatar

Stargazers

Xu Pan avatar GMD avatar  avatar Federico Vasile avatar Hengtao Li avatar Yuhan Wang avatar  avatar DeepPhysicVision avatar

Watchers

 avatar

Forkers

wyhlovecpp

actr's Issues

about feature matching

Can you give an example of how to output the corresponding matching points of two images? Thanks!

miss ibot_ckp

When I test your code, I have bug like this. Can you share your fine_tune ibot_ckp? Thanks.

No iBot ckp loaded!!!

About base threshold for PCK@kpt when evaluating on PF-WILLOW

Hi, thanks for your great work and code.
When I read your code,I have some questions about this line.

return max(batch['src_kps'].max(1)[0] - batch['src_kps'].min(1)[0]).clone()

Since batch['src_kps'] is padded with -1, batch['src_kps'].min(1)[0] always equal to -1.
I think this line should be modified to

src_kps = batch['src_kps'][:, :batch['n_pts']]
return max(src_kps.max(1)[0] - src_kps.min(1)[0]).clone()

Is this correct? Looking forward to your reply.

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.