mirror of
https://github.com/THU-MIG/yolov10.git
synced 2025-05-22 21:04:21 +08:00
Merge branch 'main' of github.com:jameslahm/yolov10 into main
This commit is contained in:
commit
0f87aa3173
@ -13,8 +13,10 @@ from ultralytics.hub.utils import HUB_WEB_ROOT
|
||||
from ultralytics.nn.tasks import attempt_load_one_weight, guess_model_task, nn, yaml_model_load
|
||||
from ultralytics.utils import ASSETS, DEFAULT_CFG_DICT, LOGGER, RANK, SETTINGS, callbacks, checks, emojis, yaml_load
|
||||
|
||||
from huggingface_hub import PyTorchModelHubMixin
|
||||
|
||||
class Model(nn.Module):
|
||||
|
||||
class Model(nn.Module, PyTorchModelHubMixin):
|
||||
"""
|
||||
A base class for implementing YOLO models, unifying APIs across different model types.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user