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

The loss function for the network #36

Open
zhangkuncsdn opened this issue Aug 6, 2020 · 4 comments
Open

The loss function for the network #36

zhangkuncsdn opened this issue Aug 6, 2020 · 4 comments

Comments

@zhangkuncsdn
Copy link

Thank you very much for sharing!
Is the loss function you use in the network GIoU or CIoU?

@WongKinYiu
Copy link
Owner

Provided pre-trained weights are trained by GIoU.
CIoU will get a little bit higher AP.

@kongbia
Copy link

kongbia commented Aug 11, 2020

Provided pre-trained weights are trained by GIoU.
CIoU will get a little bit higher AP.

Does it need to modify any additional parameters to use CIOU like 'iou_t' in train.py?

@WongKinYiu
Copy link
Owner

just change GIoU=Ture to CIoU=True.
https://github.com/WongKinYiu/PyTorch_YOLOv4/blob/master/utils/utils.py#L410

@kongbia
Copy link

kongbia commented Aug 11, 2020

just change GIoU=Ture to CIoU=True.
https://github.com/WongKinYiu/PyTorch_YOLOv4/blob/master/utils/utils.py#L410

Thank you!

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