未验证 提交 8e0a5513 编写于 作者: B Bin Lu 提交者: GitHub

Update deephashloss.py

上级 9608c078
......@@ -70,7 +70,6 @@ class LCDSHLoss(nn.Layer):
def forward(self, input, label):
feature = input["features"]
label = label.astype("float32")
# label to ont-hot
label = paddle.flatten(label)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册