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

请问为什么这个就是target #3

Open
Ashionnal opened this issue Dec 11, 2019 · 0 comments
Open

请问为什么这个就是target #3

Ashionnal opened this issue Dec 11, 2019 · 0 comments

Comments

@Ashionnal
Copy link

Chinese:
你好请教一个问题
在label_anchors.py中get_result方法返回的offset_list的shape为(num_anchors, 4), 也就是(8732, 4) 第二维度存放的是xmin, ymin, xmax, ymax, 这4个值是defaultbox的坐标与真值框的偏移值,那么为什么这个是作为在loss中的y_target呢,也就是你代码中reg_loss = train_reg_loss(box_target, box_preds)的box_target,我一直不理解这一块,其他我都懂了,麻烦大佬解答下

English:
Hi ask a question
The shape of the offset_list returned by the get_result method in label_anchors.py is (num_anchors, 4), which is (8732, 4). The second dimension stores xmin, ymin, xmax, and ymax. These four values are the coordinates of the defaultbox and true The offset value of the value box, so why is this the y_target in the loss, that is, the box_target in your code reg_loss = train_reg_loss (box_target, box_preds), I have not understood this one, I understand everything else, and it is a big trouble Guy answer

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

1 participant