提交 ce43150f 编写于 作者: W weishengyu

dbg

上级 a445ff1f
......@@ -57,7 +57,8 @@ class RecModel(nn.Layer):
x = self.backbone(x)
if self.neck is not None:
x = self.neck(x)
y = x
if self.head is not None:
y = self.head(x, label)
else:
y = None
return {"features": x, "logits": y}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册