Relation-Aware-Global-Attention-Networks
We design an effective Relation-Aware Global Attention (RGA) module for CNNs to globally infer the attention.
File Explorer
Download Latest Version (.zip)- spatial_channel_RGA.png
- __init__.py
- cuhk03.py
- __init__.py
- classification.py
- ranking.py
- __init__.py
- loss_set.py
- __init__.py
- rga_branches.py
- rga_modules.py
- __init__.py
- rga_model.py
- __init__.py
- preprocessor.py
- sampler.py
- transforms.py
- __init__.py
- logging.py
- lr_scheduler.py
- meters.py
- osutils.py
- serialization.py
- __init__.py
- img_evaluators.py
- img_trainers.py
- run_rgasc_cuhk03.sh
- .gitignore
- CODE_OF_CONDUCT.md
- LICENSE
- main_imgreid.py
- NOTICE.txt
- README.md
- requirements.txt
- SECURITY.md
# Installation Guide
1. Get the code
git clone https://github.com/microsoft/Relation-Aware-Global-Attention-Networks
Downloads the entire project code from GitHub to your computer.
cd Relation-Aware-Global-Attention-Networks
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
python <μ€νν νμΌλͺ
>.py # READMEμμ μ νν μ€ν νμΌλͺ
μ νμΈνμΈμ
Runs the Python script (or module).
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
