xyupeng / ContrastiveCrop

[CVPR 2022 Oral] Crafting Better Contrastive Views for Siamese Representation Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

请问ContrastiveCrop的ratio的参数是多少?

leo-hao opened this issue · comments

在ContrastiveCrop(alpha=alpha, size=224, scale=(0.2, 1.0))里面没有设置ratio,请问这个参数怎么设置

We use the default ratio=(3/4, 4/3) of RandomResizedCrop. You can simply pass ratio=(a, b) to ContrastiveCrop().