You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
312 B
11 lines
312 B
2 years ago
|
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||
2 years ago
|
|
||
1 year ago
|
from ultralytics.utils import emojis
|
||
2 years ago
|
|
||
|
|
||
|
class HUBModelError(Exception):
|
||
|
|
||
|
def __init__(self, message='Model not found. Please check model URL and try again.'):
|
||
2 years ago
|
"""Create an exception for when a model is not found."""
|
||
2 years ago
|
super().__init__(emojis(message))
|