Open gerarldoindra opened 7 months ago
The same err
Getting this same error; TypeError: BaseModel.fuse() got an unexpected keyword argument 'verbose'
I have trained a custom Dataset on YOLOv9 following the official colab notebook. After training, I wanted to do inference on some images using ultralytics;
from ultralytics import YOLO
# Load the YOLOv8 model
model = YOLO('/content/yolov9/runs/train/exp/weights/best.pt')
# # Perform inference on an image
results = model('/content/cocoa_new/test_new/img_1168_JPG_jpg.rf.39be982e0468df92cf8a2f980e443798.jpg')
# Extract bounding boxes, classes, names, and confidences
boxes = results[0].boxes.xyxy.tolist()
classes = results[0].boxes.cls.tolist()
names = results[0].names
confidences = results[0].boxes.conf.tolist()
print(names)
I get the error; TypeError: BaseModel.fuse() got an unexpected keyword argument 'verbose'
Need help
Have you by any chance found a solution yet? I need it too
I am also facing the same problem
Anyone solved this yet? Why is this an error?
can you give me an python example to deploy the custom model