diff --git a/ppcls/loss/deephashloss.py b/ppcls/loss/deephashloss.py index 49dc3b260c26e2c402b20d67f896b1d576aba252..7d4efad16aca1c7330aa1cda3ab1b387905c16d5 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