Spaces:
Running
Running
update documentation
Browse files
README.md
CHANGED
|
@@ -59,3 +59,31 @@ On the test set:
|
|
| 59 |
* ```F2 Score: 0.7841299670635844```
|
| 60 |
* ```mAP50 0.8192513111358107```
|
| 61 |
* ```mAP50-95 0.37744414058421033```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
* ```F2 Score: 0.7841299670635844```
|
| 60 |
* ```mAP50 0.8192513111358107```
|
| 61 |
* ```mAP50-95 0.37744414058421033```
|
| 62 |
+
|
| 63 |
+
## Dataset overview
|
| 64 |
+
|
| 65 |
+
[](https://huggingface.co/datasets/eloise54/cots_yolo_dataset)
|
| 66 |
+
|
| 67 |
+
This dataset is a **modified version** of the [CSIRO COTS and COTS Scars Dataset](https://data.csiro.au/collection/csiro:64235), originally released under the [Creative Commons Attribution 4.0 License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
| 68 |
+
|
| 69 |
+
The original dataset contains images and annotations for **Crown-of-Thorns Starfish (COTS)** and **COTS scars**, collected to support coral reef monitoring and control efforts on the Great Barrier Reef (GBR).
|
| 70 |
+
|
| 71 |
+
These starfish are coral predators, and their outbreaks can severely damage reef ecosystems.
|
| 72 |
+
|
| 73 |
+
>**Please cite the original dataset authors if you use this dataset in your work.**
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
# 🙏 Citation
|
| 77 |
+
|
| 78 |
+
```bibtex
|
| 79 |
+
@dataset{csiro_cots_2024,
|
| 80 |
+
author = {Armin, Ali and Bainbridge, Scott and Page, Geoff and Tychsen-Smith, Lachlan and Coleman, Greg and Oorloff, Jeremy and Harvey, De'vereux and Do, Brendan and Marsh, Benjamin and Lawrence, Emma and Kusy, Brano and Hayder, Zeeshan and Bonin, Mary},
|
| 81 |
+
title = {COTS and COTS scar dataset},
|
| 82 |
+
year = {2024},
|
| 83 |
+
publisher = {CSIRO},
|
| 84 |
+
version = {v1},
|
| 85 |
+
doi = {10.25919/03a7-hn83},
|
| 86 |
+
url = {https://data.csiro.au/collection/csiro:64235}
|
| 87 |
+
}
|
| 88 |
+
```
|
| 89 |
+
|
app.py
CHANGED
|
@@ -152,6 +152,34 @@ def prev_sample(index: int, dataset_choice: str):
|
|
| 152 |
# ---------------------------------
|
| 153 |
# 5. UI elements
|
| 154 |
# ---------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 155 |
with gr.Blocks() as demo:
|
| 156 |
gr.Markdown("## 🪸 Crown of thorns starfish detection - protect the great barrier reef")
|
| 157 |
gr.Markdown("Use **Next** or **Previous** to browse samples and see model predictions vs ground truth.")
|
|
@@ -173,6 +201,8 @@ with gr.Blocks() as demo:
|
|
| 173 |
with gr.Row():
|
| 174 |
prev_btn = gr.Button("⬅️ Prev image")
|
| 175 |
next_btn = gr.Button("Next image➡️")
|
|
|
|
|
|
|
| 176 |
|
| 177 |
# Connect navigation
|
| 178 |
prev_btn.click(fn=prev_sample, inputs=[state, dropdown], outputs=[image_output, state, index, dataset_choice])
|
|
|
|
| 152 |
# ---------------------------------
|
| 153 |
# 5. UI elements
|
| 154 |
# ---------------------------------
|
| 155 |
+
|
| 156 |
+
dataset_information= """
|
| 157 |
+
## Dataset overview
|
| 158 |
+
|
| 159 |
+
[](https://huggingface.co/datasets/eloise54/cots_yolo_dataset)
|
| 160 |
+
|
| 161 |
+
This dataset is a **modified version** of the [CSIRO COTS and COTS Scars Dataset](https://data.csiro.au/collection/csiro:64235), originally released under the [Creative Commons Attribution 4.0 License (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
|
| 162 |
+
|
| 163 |
+
The original dataset contains images and annotations for **Crown-of-Thorns Starfish (COTS)** and **COTS scars**, collected to support coral reef monitoring and control efforts on the Great Barrier Reef (GBR).
|
| 164 |
+
|
| 165 |
+
These starfish are coral predators, and their outbreaks can severely damage reef ecosystems.
|
| 166 |
+
|
| 167 |
+
**PCSIRO COTS and COTS Scars Dataset reference:**
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
```bibtex
|
| 171 |
+
@dataset{csiro_cots_2024,
|
| 172 |
+
author = {Armin, Ali and Bainbridge, Scott and Page, Geoff and Tychsen-Smith, Lachlan and Coleman, Greg and Oorloff, Jeremy and Harvey, De'vereux and Do, Brendan and Marsh, Benjamin and Lawrence, Emma and Kusy, Brano and Hayder, Zeeshan and Bonin, Mary},
|
| 173 |
+
title = {COTS and COTS scar dataset},
|
| 174 |
+
year = {2024},
|
| 175 |
+
publisher = {CSIRO},
|
| 176 |
+
version = {v1},
|
| 177 |
+
doi = {10.25919/03a7-hn83},
|
| 178 |
+
url = {https://data.csiro.au/collection/csiro:64235}
|
| 179 |
+
}
|
| 180 |
+
```
|
| 181 |
+
|
| 182 |
+
"""
|
| 183 |
with gr.Blocks() as demo:
|
| 184 |
gr.Markdown("## 🪸 Crown of thorns starfish detection - protect the great barrier reef")
|
| 185 |
gr.Markdown("Use **Next** or **Previous** to browse samples and see model predictions vs ground truth.")
|
|
|
|
| 201 |
with gr.Row():
|
| 202 |
prev_btn = gr.Button("⬅️ Prev image")
|
| 203 |
next_btn = gr.Button("Next image➡️")
|
| 204 |
+
with gr.Row():
|
| 205 |
+
gr.Markdown(dataset_information)
|
| 206 |
|
| 207 |
# Connect navigation
|
| 208 |
prev_btn.click(fn=prev_sample, inputs=[state, dropdown], outputs=[image_output, state, index, dataset_choice])
|