提交 a5fbd902 编写于 作者: T tink2123

fix srn fpn

上级 5e25ed64
......@@ -100,11 +100,11 @@ class ResNet():
conv = self.basic_block(
input=conv,
num_filters=num_filters[block],
stride=stride,
if_first=block == i == 0,
stride=stride_list[block] if i == 0 else 1,
is_first=block == i == 0,
name=conv_name)
F.append(conv)
print("F:", F)
base = F[-1]
for i in [-2, -3]:
b, c, w, h = F[i].shape
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册