Open Patrick-Nick opened 8 months ago
Hi, recently, the code about FastMLDNN is rewritten upon new mmengine. Basically, the class center is made up of two parts in python code: class center distance and loss function (cross entropy loss ).
The class distance is calculated in code (csrr/models/backbones/fastmldnn.py):
"p = sim_matrix(self.classifier[3].weight, self.classifier[3].weight)"
The loss is cross entropy loss in fast_mldnn_head.py
It's really excellent work. But I can't find the file that contains the sim_matrix function, and the fastmldnn.py file in current version. such as, from ...ops import sim_matrix, but i can't Correct import.
I have read your paper about FastMLDNN. This is really excellent work. When I looked up your code, it seemed that I couldn't find the code of the class center distance expansion loss. Perhaps I missed it?