From 3de99430c0858d138869a98bd7d66671e86a683e Mon Sep 17 00:00:00 2001 From: Bin Lu Date: Wed, 25 Aug 2021 14:06:54 +0800 Subject: [PATCH] Update deephashloss.py --- ppcls/loss/deephashloss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppcls/loss/deephashloss.py b/ppcls/loss/deephashloss.py index 49dc3b26..7d4efad1 100644 --- a/ppcls/loss/deephashloss.py +++ b/ppcls/loss/deephashloss.py @@ -57,7 +57,7 @@ class DSHSDLoss(nn.Layer): return {"dshsdloss": Lc + Ld * self.alpha} -class LCDSHLoss(paddle.nn.Layer): +class LCDSHLoss(nn.Layer): """ # paper [Locality-Constrained Deep Supervised Hashing for Image Retrieval](https://www.ijcai.org/Proceedings/2017/0499.pdf) # [LCDSH] epoch:145, bit:48, dataset:cifar10-1, MAP:0.798, Best MAP: 0.798 -- GitLab