clovaai / rebias

Official Pytorch implementation of ReBias (Learning De-biased Representations with Biased Representations), ICML 2020
MIT License
171 stars 30 forks source link

Appeal for the Imagenet texture cluster code? #7

Closed Wangt-CN closed 3 years ago

Wangt-CN commented 3 years ago

Dear authors,

Hi, thanks for your great work and this icml paper gives me many insights. Now I am trying to follow your work and I want to obtain the cluster of texture feature for the ImageNet training set.

Could you please provide the texture feature cluster code for reference? Thanks a lot for your kind help.

Best, Tan

SanghyukChun commented 3 years ago

@Wangt-CN We already uploaded the clustering code (see make_clusters.py)

To run the clustering for your training set, please edit the following code https://github.com/clovaai/rebias/blob/master/make_clusters.py#L42

SanghyukChun commented 3 years ago

Closing the issue, assuming my answer resolves the problem. Please re-open the issue as necessary.