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

这里 i 是不是有问题? #18

Open
ysc703 opened this issue Jul 3, 2020 · 4 comments
Open

这里 i 是不是有问题? #18

ysc703 opened this issue Jul 3, 2020 · 4 comments

Comments

@ysc703
Copy link

ysc703 commented Jul 3, 2020

感谢楼主分享哈^_^
尝试把代码合到darknet最新版本,发现这里的循环又用到了i
https://github.com/ouyanghuiyu/darknet_face_with_landmark/blob/2db381ee665fd16ae0dda62749e5411523371e97/src/yolo_layer.c#L724

@DayBreak-u
Copy link
Owner

@ysc703 这里应该是不影响的吧, 但是确实需要规范一下

@ysc703
Copy link
Author

ysc703 commented Jul 3, 2020

哈哈,不好说,因为i值确实是改变了。是不是会改变它上层循环的i,可以调试看看

@ysc703
Copy link
Author

ysc703 commented Jul 3, 2020

还有770行 no_iou_class_loss_delta[index + (14 + i ) * stride] = 0;
no_iou_class_loss_delta在749行被释放了

还是说,这里应该是no_land_class_loss_delta???

@xiaowenhe
Copy link

xiaowenhe commented Aug 31, 2020

@ysc703,770行是错了吗?需要改成no_land_class_loss_delt吗?

又看了下,应该是no_land_class_loss_delt。可能是大佬笔误了。

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