deeplearning-wisc / opencon

Code for TMLR 2023 paper "OpenCon: Open-world Contrastive Learning"
34 stars 3 forks source link

How does the initialization of proto.data look like? #1

Closed ziyunli-2023 closed 1 year ago

ziyunli-2023 commented 1 year ago

Hi Opencon Author,

I am confused about this part and expect your reply. dist = feat_proj @ self.proto.data.T * 10 How does the initialization of proto.data look like?

https://github.com/deeplearning-wisc/opencon/blob/master/models/OpenSupCon.py#L180