Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change to use yolov11's model? #101

Open
Jeremy-zhangyichen opened this issue Dec 11, 2024 · 2 comments
Open

How do I change to use yolov11's model? #101

Jeremy-zhangyichen opened this issue Dec 11, 2024 · 2 comments

Comments

@Jeremy-zhangyichen
Copy link

How do I change to use yolov11's model?

@JiayuanWang-JW
Copy link
Owner

Unfortunately, this repo can not follow the Ultralytics update. If you want to use yolov11's model, you have to add the new modules and build the model yaml file following YOLOv11.

@gp01pw
Copy link

gp01pw commented Jan 17, 2025

@JiayuanWang-JW

Thank you so much for nice work...
I tried building this using YOLOV11. I have attached corresponding yaml file. I am getting following error. Can you help me debug this error?

I am getting error at loss function. This line

loss[0] = self.TL(preds, binary_mask, 0.7).

But I believe it's issue of model's output at engine-> trainer
if self.args.task == "multi":
preds = self.model(batch[0]['img'])

The pred size I get is (batch, 2, 40, 40) which should be (batch, 2, 640, 640)

log.txt

yolov11-bdd-v4-one-dropout-individual-l.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants