This is the code base for ISPRS Journal of Photogrammetry and Remote Sensing paper 'AdaTreeFormer: Few Shot Domain Adaptation for Tree Counting from a Single High-Resolution Image'
Python ≥ 3.7.
To install the required packages, please run:
pip install -r requirements.txtDownload the London dataset from google drive.
Download the Yoesmite dataset from google drive.
Download the Jiangsu dataset from zenodo.
Modify the path to the dataset and model for evaluation in 'test.py'.
Run 'test.py'
