Skip to content

Eval tracker #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion tools/eval/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Supported datasets:
- [ICDAR](#icdar2003)
- [IIIT5K](#iiit5k)
- [Mini Supervisely](#mini-supervisely)
- [OTB](#otb)

## ImageNet

Expand Down Expand Up @@ -211,4 +212,32 @@ Run evaluation on quantized model with the following command :

```shell
python eval.py -m pphumanseg_q -d mini_supervisely -dr /path/to/pphumanseg
```
```

## OTB

### Prepare data

Please visit [here](https://drive.google.com/drive/folders/1DZvtlnG9U94cgLD6Yi3eU7r6QZJkjdl-?usp=sharing) to download the OTB dataset and the json file. Organize files as follow:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this link provided by otb official or your google drive?


```shell
$ tree -L 2 /path/to/imagenet
.
├── Basketball
│   ├── groundtruth_rect.txt
│   ├── img
│   │ └── XXXX.jpg
├── Biker
│   ├── groundtruth_rect.txt
│   ├── img
│   │ └── XXXX.jpg
└── OTB.json
```

### Evaluation

Run evaluation with the following command:

```shell
python eval.py -m dasiamrpn -d otb -dr /path/to/otb
```
2 changes: 2 additions & 0 deletions tools/eval/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .icdar import ICDAR
from .iiit5k import IIIT5K
from .minisupervisely import MiniSupervisely
from .otb import OTB

class Registery:
def __init__(self, name):
Expand All @@ -23,3 +24,4 @@ def register(self, item):
DATASETS.register(ICDAR)
DATASETS.register(IIIT5K)
DATASETS.register(MiniSupervisely)
DATASETS.register(OTB)
Loading