DeLightCMU / RSC

This is the official implementation of Self-Challenging Improves Cross-Domain Generalization, ECCV2020
BSD 2-Clause "Simplified" License
160 stars 18 forks source link

Code breaks at epoch 40 #21

Open Yussef93 opened 3 years ago

Yussef93 commented 3 years ago

Hi All,

I've tried to run the code for more than 30 epochs (i.e. 100 epochs) but the code breaks due to IndexError, please advise.

hiyuchang commented 3 years ago

I also have this problem. Looking forward to some reply.

silvia1993 commented 2 years ago

I think the problem is that self.pecent becomes too big https://github.com/DeLightCMU/RSC/blob/bf6d280c5d74910f009ea8963c59167252659666/Domain_Generalization/models/resnet.py#L73