Update README.md
Browse files
README.md
CHANGED
|
@@ -53,6 +53,7 @@ Note that the annotations follow the YOLO instance segmentation format.
|
|
| 53 |
Please refer to [this page](https://docs.ultralytics.com/datasets/segment/) for more info.
|
| 54 |
|
| 55 |
## 🧪 How to use
|
|
|
|
| 56 |
from datasets import load_dataset
|
| 57 |
import matplotlib.pyplot as plt
|
| 58 |
import random
|
|
@@ -95,7 +96,7 @@ if __name__ == "__main__":
|
|
| 95 |
except Exception as e:
|
| 96 |
print(f"Error loading or displaying the dataset: {e}")
|
| 97 |
print(f"Make sure the dataset '{dataset_name}' exists and is public, or you are logged in if it's private.")
|
| 98 |
-
|
| 99 |
|
| 100 |
## 🙏 Acknowledgement
|
| 101 |
<style>
|
|
|
|
| 53 |
Please refer to [this page](https://docs.ultralytics.com/datasets/segment/) for more info.
|
| 54 |
|
| 55 |
## 🧪 How to use
|
| 56 |
+
```python
|
| 57 |
from datasets import load_dataset
|
| 58 |
import matplotlib.pyplot as plt
|
| 59 |
import random
|
|
|
|
| 96 |
except Exception as e:
|
| 97 |
print(f"Error loading or displaying the dataset: {e}")
|
| 98 |
print(f"Make sure the dataset '{dataset_name}' exists and is public, or you are logged in if it's private.")
|
| 99 |
+
```
|
| 100 |
|
| 101 |
## 🙏 Acknowledgement
|
| 102 |
<style>
|