Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,46 +1,8 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# The results are produced with PyTorch 1.12.1 and CUDA 11.3
|
| 11 |
-
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
|
| 12 |
-
|
| 13 |
-
pip install -r requirements.txt
|
| 14 |
-
```
|
| 15 |
-
|
| 16 |
-
### Dataset
|
| 17 |
-
To set up all required datasets, kindly refer to the guidance in [DATASETS.md](docs/DATASETS.md), which incorporates steps for two benchmarks.
|
| 18 |
-
|
| 19 |
-
## Run dota
|
| 20 |
-
### Configs
|
| 21 |
-
The configuration for DOTA hyperparameters in `configs/dataset.yaml` can be tailored within the provided file to meet the needs of various datasets.
|
| 22 |
-
|
| 23 |
-
### Running
|
| 24 |
-
|
| 25 |
-
Below are instructions for running DOTA on both Out-of-Distribution (OOD) and Cross-Domain benchmarks using various backbone architectures. Follow the steps suited to your specific needs:"
|
| 26 |
-
|
| 27 |
-
#### OOD Benchmark
|
| 28 |
-
* **ResNet50**: Run DOTA on the OOD Benchmark using the ResNet50 model:
|
| 29 |
-
```
|
| 30 |
-
bash ./scripts/run_ood_benchmark_rn50.sh
|
| 31 |
-
```
|
| 32 |
-
* **ViT/B-16**: Run DOTA on the OOD Benchmark using the ViT/B-16 model.
|
| 33 |
-
```
|
| 34 |
-
bash ./scripts/run_ood_benchmark_vit.sh
|
| 35 |
-
```
|
| 36 |
-
|
| 37 |
-
#### Cross-Domain Benchmark
|
| 38 |
-
* **ResNet50**: Run DOTA on the Cross-Domain Benchmark using the ResNet50 model:
|
| 39 |
-
```
|
| 40 |
-
bash ./scripts/run_cd_benchmark_rn50.sh
|
| 41 |
-
```
|
| 42 |
-
* **ViT/B-16**: Run DOTA on the Cross-Domain Benchmark using the ViT/B-16 model.
|
| 43 |
-
```
|
| 44 |
-
bash ./scripts/run_cd_benchmark_vit.sh
|
| 45 |
-
```
|
| 46 |
-
|
|
|
|
| 1 |
+
title: DOTA CLIP Classifier
|
| 2 |
+
emoji: 🚀
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: green
|
| 5 |
+
sdk: gradio
|
| 6 |
+
sdk_version: "4.19.2"
|
| 7 |
+
app_file: app.py
|
| 8 |
+
pinned: false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|