ultralytics 8.0.131 NCNN, HUB and FastSAM fixes (#3587)
This commit is contained in:
parent
23c7cd4c9f
commit
d9db6cd42d
11 changed files with 24 additions and 23 deletions
|
|
@ -22,7 +22,7 @@ from .predict import FastSAMPredictor
|
|||
class FastSAM(YOLO):
|
||||
|
||||
def __init__(self, model='FastSAM-x.pt'):
|
||||
# Call the __init__ method of the parent class (YOLO) with the updated default model
|
||||
"""Call the __init__ method of the parent class (YOLO) with the updated default model"""
|
||||
if model == 'FastSAM.pt':
|
||||
model = 'FastSAM-x.pt'
|
||||
super().__init__(model=model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue