ultralytics 8.2.101 allow HUB public model downloads (#16488)
Signed-off-by: UltralyticsAssistant <web@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
4e825567a9
commit
4bcc80c646
5 changed files with 12 additions and 10 deletions
|
|
@ -127,7 +127,7 @@ class Model(nn.Module):
|
|||
# Check if Ultralytics HUB model from https://hub.ultralytics.com
|
||||
if self.is_hub_model(model):
|
||||
# Fetch model from HUB
|
||||
checks.check_requirements("hub-sdk>=0.0.8")
|
||||
checks.check_requirements("hub-sdk>=0.0.12")
|
||||
session = HUBTrainingSession.create_session(model)
|
||||
model = session.model_file
|
||||
if session.train_args: # training sent from HUB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue