Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -78,25 +78,6 @@ Each example (row) in both splits contains the following fields:
|
|
| 78 |
* `width`: The width of the image in pixels (from the full-resolution image).
|
| 79 |
* `height`: The height of the image in pixels (from the full-resolution image).
|
| 80 |
|
| 81 |
-
## Usage
|
| 82 |
-
|
| 83 |
-
To download and load this dataset from the Hugging Face Hub:
|
| 84 |
-
|
| 85 |
-
```python
|
| 86 |
-
from datasets import load_dataset
|
| 87 |
-
|
| 88 |
-
# To load the full, high-resolution dataset (recommended for training):
|
| 89 |
-
dataset_full = load_dataset("ROSCOSMOS/Sports_Cars", split="train")
|
| 90 |
-
|
| 91 |
-
# To load the smaller, viewer-compatible preview dataset for quick browsing:
|
| 92 |
-
dataset_preview = load_dataset("ROSCOSMOS/Sports_Cars", split="preview")
|
| 93 |
-
|
| 94 |
-
print("Full Dataset (train split):", dataset_full)
|
| 95 |
-
print("Preview Dataset (preview split):", dataset_preview)
|
| 96 |
-
|
| 97 |
-
# You can then access individual examples, e.g., dataset_full[0]
|
| 98 |
-
# The 'image' column will contain PIL Image objects.
|
| 99 |
-
```
|
| 100 |
|
| 101 |
## Citation
|
| 102 |
|
|
|
|
| 78 |
* `width`: The width of the image in pixels (from the full-resolution image).
|
| 79 |
* `height`: The height of the image in pixels (from the full-resolution image).
|
| 80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
## Citation
|
| 83 |
|