Skip to content
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

Add alternate way of dataset access #31

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,37 @@ ECCV2020 Challenge
DroneCrowd (1.03 GB): [BaiduYun](https://pan.baidu.com/share/init?surl=llJZJMi2L5oUQvj31iBlfg)(code: h0j8)|
[GoogleDrive](https://drive.google.com/file/d/1HY3V4QObrVjzXUxL_J86oxn2bi7FMUgd/view?usp=sharing)

## How to Use with Hub

A simple way of using this dataset is with [Activeloop](https://activeloop.ai)'s Python package [Hub](https://github.com/activeloopai/Hub), an open-source dataset format for AI that enables you to stream machine learning datasets while training machine learning models!

First, run `pip install hub` (or `pip3 install hub`).

Then, load the dataset:

```py
import hub
# Load training subset
ds_train = hub.load("hub://activeloop/visdrone-det-train")

# Load testing subset
ds_test = hub.load("hub://activeloop/visdrone-det-test")

# Load validation subset
ds_val = hub.load("hub://activeloop/visdrone-det-val")

# Load testing-dev subset
ds_test_dev = hub.load("hub://activeloop/visdrone-det-test-dev")

# The tensor layout for any dataset can be inspected using:
ds_train.summary()

# Datasets can be also be visualized in the Activeloop
# Platform, or using an iframe in a jupyter notebook:
ds_train.visualize()
```

For more information, please check out the [Hub Documentation](https://docs.activeloop.ai). Specific information about this dataset in Hub can also be found [here](https://docs.activeloop.ai/datasets/visdrone-det-dataset)!

## Citation
```
Expand Down