Adjust numpy<2.0.0 compatibility (#13906)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
c636fe0f35
commit
68720288d3
3 changed files with 4 additions and 6 deletions
|
|
@ -133,7 +133,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.6")
|
||||
checks.check_requirements("hub-sdk>=0.0.8")
|
||||
self.session = HUBTrainingSession.create_session(model)
|
||||
model = self.session.model_file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue