Giter Site home page Giter Site logo

cca's Introduction

Cross-view Consistent Attention: Transformer-based Geo-localization for UAV and Satellite Images

Dataset

Download the dataset in: https://github.com/layumi/University1652-Baseline

Pre-trained model

The pre-trained modlel can be downloaded in: https://drive.google.com/drive/folders/1No434KX6imMgQgMk7TN5b7DCm1ZGnia3?usp=share_link

python -u validation.py --lr 0.00001 --batch-size 32 --dist-url 'tcp://localhost:10001' --world-size 1 --rank 0 --epochs 50 --save_path ./university_exp66 --op adamw --wd 5e-4 --mining --dataset university1652 --cos --asam --rho 2.5 --asam --gpu 0  --dim 1000 --dim_out 1000 --loss_func euclid --resume '/root/transgeo/model_best.pth.tar'  -e

Training

python -u mytrain.py --lr 0.00001 --batch-size 32 --dist-url 'tcp://localhost:10001' --world-size 1 --rank 0 --epochs 50 --save_path ./university_exp66 --op adamw --wd 5e-4 --mining --dataset university1652 --cos --asam --rho 2.5 --asam --gpu 0  --dim 1000 --dim_out 1000 --loss_func euclid

Evaluation

python -u validation.py --lr 0.00001 --batch-size 32 --dist-url 'tcp://localhost:10001' --world-size 1 --rank 0 --epochs 50 --save_path ./university_exp66 --op adamw --wd 5e-4 --mining --dataset university1652 --cos --asam --rho 2.5 --asam --gpu 0  --dim 1000 --dim_out 1000 --loss_func euclid --resume '/root/transgeo/model_best.pth.tar'  -e

cca's People

Contributors

zfcui33 avatar

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.