modify: README.md
Browse files
README.md
CHANGED
|
@@ -11,3 +11,17 @@ The individual datasets are stored as zip files in the `zip` directory. The util
|
|
| 11 |
3. Upload the zip file corresponding anatomy folder in the `zip` directory using the command: `hf upload [repo_id] [local_path] [path_in_repo] --repo-type dataset --commit-message "add-dataset: <dataset_name>"`
|
| 12 |
|
| 13 |
eg: `hf upload us-segmentator/us-segmentation-dataset local_path_to_zip_file.zip zips/<anatomy_name>/<zip_file_name>.zip --repo-type dataset --commit-message "add-dataset: <dataset_name>"`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
3. Upload the zip file corresponding anatomy folder in the `zip` directory using the command: `hf upload [repo_id] [local_path] [path_in_repo] --repo-type dataset --commit-message "add-dataset: <dataset_name>"`
|
| 12 |
|
| 13 |
eg: `hf upload us-segmentator/us-segmentation-dataset local_path_to_zip_file.zip zips/<anatomy_name>/<zip_file_name>.zip --repo-type dataset --commit-message "add-dataset: <dataset_name>"`
|
| 14 |
+
|
| 15 |
+
To Download the dataset, use the following command:
|
| 16 |
+
1. Make sure you have git lfs installed
|
| 17 |
+
2. Run the following command:
|
| 18 |
+
```bash
|
| 19 |
+
git lfs install
|
| 20 |
+
```
|
| 21 |
+
3. Run the following command:
|
| 22 |
+
```bash
|
| 23 |
+
hf download us-segmentator/us-segmentation-dataset --repo-type dataset --local-dir local_path_to_download_directory
|
| 24 |
+
```
|
| 25 |
+
4. The dataset will be downloaded to the local directory.
|
| 26 |
+
|
| 27 |
+
> Note: The dataset can be downloaded without the --local-dir argument, but it will be downloaded the huggingface cache directory.
|