Datasets:
PR to update segmentation instructions
#8
by
ksmehrab
- opened
README.md
CHANGED
|
@@ -142,14 +142,30 @@ English
|
|
| 142 |
data-bib.bib
|
| 143 |
```
|
| 144 |
|
| 145 |
-
|
| 146 |
<!-- [Add instructions for downloading images here]
|
| 147 |
-->
|
| 148 |
-
*
|
| 149 |
-
*
|
| 150 |
-
|
| 151 |
-
|
| 152 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
|
| 154 |
### Data Instances
|
| 155 |
|
|
|
|
| 142 |
data-bib.bib
|
| 143 |
```
|
| 144 |
|
| 145 |
+
### Instructions for downloading dataset
|
| 146 |
<!-- [Add instructions for downloading images here]
|
| 147 |
-->
|
| 148 |
+
* Git clone the repository
|
| 149 |
+
* Run the following commands in a **terminal**:
|
| 150 |
+
```bash
|
| 151 |
+
git clone https://huggingface.co/datasets/imageomics/fish-vista
|
| 152 |
+
cd fish-vista
|
| 153 |
+
```
|
| 154 |
+
* Run the following commands to move all chunked images to a single directory:
|
| 155 |
+
```bash
|
| 156 |
+
mkdir AllImages
|
| 157 |
+
find Images -type f -exec mv -v {} AllImages \;
|
| 158 |
+
rm -rf Images
|
| 159 |
+
mv AllImages Images
|
| 160 |
+
```
|
| 161 |
+
|
| 162 |
+
* You should now have all the images in the *Images* directory
|
| 163 |
+
|
| 164 |
+
* Run the following commands to download and process copyrighted images
|
| 165 |
+
```bash
|
| 166 |
+
python download_and_process_nd_images.py --save_dir Images
|
| 167 |
+
```
|
| 168 |
+
* This will download and process the CC-BY-ND images that we do not provide in the *Images* folder
|
| 169 |
|
| 170 |
### Data Instances
|
| 171 |
|