yolov9 icon indicating copy to clipboard operation
yolov9 copied to clipboard

Error: BaseModel.fuse() got an unexpected keyword argument 'verbose'

Open gerarldoindra opened this issue 10 months ago • 4 comments

can you give me an python example to deploy the custom model

gerarldoindra avatar Apr 19 '24 03:04 gerarldoindra

The same err

syusama avatar May 20 '24 08:05 syusama

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

Kamal-Moha avatar May 24 '24 18:05 Kamal-Moha

Have you by any chance found a solution yet? I need it too

P3rCh1 avatar Jul 10 '24 22:07 P3rCh1

I am also facing the same problem

omerkhanjadoon avatar Aug 29 '24 21:08 omerkhanjadoon