Auto-update Ultralytics Docs Reference by https://ultralytics.com/actions

dataset-error-handling
UltralyticsAssistant 2 months ago
parent a49d901288
commit e9e286de5f
  1. 4
      docs/en/reference/utils/errors.md
  2. 1
      ultralytics/utils/errors.py

@ -13,4 +13,8 @@ keywords: Ultralytics, YOLO, error handling, HUBModelError, model fetching, cust
## ::: ultralytics.utils.errors.HUBModelError
<br><br><hr><br>
## ::: ultralytics.utils.errors.DatasetError
<br><br>

@ -31,6 +31,7 @@ class DatasetError(Exception):
Note:
The message is automatically processed through the 'emojis' function from the 'ultralytics.utils' package.
"""
def __init__(self, message="Dataset not found. Please check dataset and try again."):
message = message + "\n \n If you need a hand with building your dataset, just check out the official documentation: https://docs.ultralytics.com/datasets \n It's really helpful!"
super().__init__(emojis(message))

Loading…
Cancel
Save