MCPcopy Create free account
hub / github.com/HobbitLong/RepDistiller / CRDLoss

Class CRDLoss

crd/criterion.py:8–48  ·  view source on GitHub ↗

CRD Loss function includes two symmetric parts: (a) using teacher as anchor, choose positive and negatives over the student side (b) using student as anchor, choose positive and negatives over the teacher side Args: opt.s_dim: the dimension of student's feature opt.t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected