license:mit region:us
---
license: mit
---
Load the Pascal Part dataset from the local directory.

Usage:

```python
from datasets import load_dataset
DATA_DIR = "/path/to/PascalPart"
split = "trainval"  # choose from ["trainval"]
ds = load_dataset("yiqun/PascalPart", data_dir=DATA_DIR, split=split)
```

Structure of DATA_DIR:
```
|_ Annotations_Part
  |_ # images
|_ VOCdevkit
  |_ VOC2010
    |_ JPEGImages
    |_ ...
```
