ultralytics 8.0.76 minor fixes and improvements (#2004)
Co-authored-by: Seungtaek Kim <seungtaek.kim.94@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com> Co-authored-by: Yonghye Kwon <developer.0hye@gmail.com> Co-authored-by: Ercalvez <45692523+Ercalvez@users.noreply.github.com> Co-authored-by: Erwan CALVEZ <ecalvez@enib.fr>
This commit is contained in:
parent
48c4483795
commit
4916014af2
15 changed files with 63 additions and 26 deletions
9
ultralytics/yolo/utils/errors.py
Normal file
9
ultralytics/yolo/utils/errors.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Ultralytics YOLO 🚀, GPL-3.0 license
|
||||
|
||||
from ultralytics.yolo.utils import emojis
|
||||
|
||||
|
||||
class HUBModelError(Exception):
|
||||
|
||||
def __init__(self, message='Model not found. Please check model URL and try again.'):
|
||||
super().__init__(emojis(message))
|
||||
Loading…
Add table
Add a link
Reference in a new issue