TreeFormer / README.md
franciszzj's picture
update README
0e21ab4

A newer version of the Gradio SDK is available: 5.5.0

Upgrade
metadata
title: TreeFormer
emoji: 🚀
colorFrom: purple
colorTo: red
sdk: gradio
sdk_version: 4.32.2
app_file: app.py
pinned: false
license: mit

TreeFormer

This is the code base for IEEE TRANSACTIONS ON GEOSCIENCE AND REMOTE SENSING (TGRS 2023) paper 'TreeFormer: a Semi-Supervised Transformer-based Framework for Tree Counting from a Single High Resolution Image'

Installation

Python ≥ 3.7.

To install the required packages, please run:

  pip install -r requirements.txt

Dataset

Download the dataset from google drive.

Evaluation

Download our trained model on London dataset.

Modify the path to the dataset and model for evaluation in 'test.py'.

Run 'test.py'

Acknowledgements

  • Part of codes are borrowed from PVT and DM Count. Thanks for their great work!