We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
x_pad = F.pad(x, (self.pad_side, self.pad_side, self.pad_side, self.pad_side), mode='constant', value=0) part_feature = part_feature[:, :CAT_NUM, ...].contiguous()
x_pad = F.pad(x, (self.pad_side, self.pad_side, self.pad_side, self.pad_side), mode='constant', value=0)
part_feature = part_feature[:, :CAT_NUM, ...].contiguous()
Would appreciate your suggestion.
The text was updated successfully, but these errors were encountered:
Hello, do you know what cat_num is?
Sorry, something went wrong.
Pad:初始化的时候已经加上偏移了,目的是考虑到某些anchor box会出界。 self.pad_side = 224 self.edge_anchors = (edge_anchors + 224).astype(np.int)
CAT_NUM: 表示多少个Patch的特征和整图特征拼接到一起。 其中 part_features(有s) 用来计算所有patch的loss,part_feature(没有s)和整图特征拼在一起计算损失。
No branches or pull requests
x_pad = F.pad(x, (self.pad_side, self.pad_side, self.pad_side, self.pad_side), mode='constant', value=0)
part_feature = part_feature[:, :CAT_NUM, ...].contiguous()
Would appreciate your suggestion.
The text was updated successfully, but these errors were encountered: