hendrycks / ss-ood

Self-Supervised Learning for OOD Detection (NeurIPS 2019)
MIT License
263 stars 31 forks source link

wrn_prime not found in adversarial robustness #9

Closed shlokk closed 4 years ago

shlokk commented 4 years ago

Hi, Thanks for the wonderful paper and open-sourcing the code. However, I had two issues in adversarial robustness code.

1) File "/ss-ood/adversarial/attacks.py", line 62, in forward logits, pen = model(adv_bx*2-1) ValueError: too many values to unpack (expected 2)

2) from models.wrn_prime import WideResNet, wrn_prime not found. I guess there is a model for which code is not present.

Chaimmoon commented 4 years ago

Maybe you need to modify wrn_prime to wrn?

Sammy42779 commented 4 years ago

Hi, have you solved the first question?

hendrycks commented 4 years ago
return self.fc(out), out