Jingkang50 / OpenOOD

Benchmarking Generalized Out-of-Distribution Detection
MIT License
831 stars 106 forks source link

Update react_postprocessor.py #218

Closed PyJulie closed 8 months ago

PyJulie commented 8 months ago

It may not perfect solution but no bugs and I got some expected results.

PyJulie commented 8 months ago

1703610087476 Yes but only at the end of Setup() like this. As I mentioned it seems that Setup() runs first before other initialization functions.

zjysteven commented 8 months ago

Yes I would think so. And yes, setup() is expected to run first (to get activation statistics for example).

PyJulie commented 8 months ago

I'm not sure what goes wrong and I further look at this issue. Anyway, got the expected outcomes. Thank you for your time!

zjysteven commented 8 months ago

No problem. I think there were some corner cases, but the fix should be good now.