Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -57,13 +57,15 @@ The dataset contains 19 classes:
|
|
57 |
|
58 |
### Command line
|
59 |
```commandline
|
60 |
-
|
|
|
61 |
```
|
62 |
|
63 |
### Python
|
64 |
```python
|
65 |
from huggingface_hub import hf_hub_download
|
66 |
dataset_path = hf_hub_download(repo_id="LivingOptics/hyperspectral-fruit", filename="train", repo_type="dataset")
|
|
|
67 |
```
|
68 |
|
69 |
## Usage
|
|
|
57 |
|
58 |
### Command line
|
59 |
```commandline
|
60 |
+
mkdir -p hyperspectral-fruit
|
61 |
+
huggingface-cli download LivingOptics/hyperspectral-fruit --repo-type dataset --local-dir hyperspectral-fruit
|
62 |
```
|
63 |
|
64 |
### Python
|
65 |
```python
|
66 |
from huggingface_hub import hf_hub_download
|
67 |
dataset_path = hf_hub_download(repo_id="LivingOptics/hyperspectral-fruit", filename="train", repo_type="dataset")
|
68 |
+
print(dataset_path)
|
69 |
```
|
70 |
|
71 |
## Usage
|