HobbitLong / CMC

[ECCV 2020] "Contrastive Multiview Coding", also contains implementations for MoCo and InstDis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMC for small custom dataset

HaoliangZhou opened this issue · comments

Thanks for open-sourcing your work, I have been trying to use CMC on my custom toy dataset which has 2 views (RGB, Depth). The number of RGB and Depth images is 4000. I have 2 dataloader, one for RGB data and another for depth. And use corresponding RGB and depth to be positive pair.
When I use NCECriterion, the reslut is like,
VYKQ(~ZZMM}IC)9RSH3T`QS
If use Softmax-CE, the result becomes,
image

Could you please give me some suggestion about train with dual-modal datasets or small datasets ?

Thanks a lot!