Hi,
I am testing the robustness of the OExp results against different ratios of in-distribution and OOD examples in the test set (in case of CIFAR10 dataset). I get an error if I consider this ratio below the ratio 1:50. The error is in 'get_ood_scores' subroutine where at the end in the else condition: return concat(_score)[:ood_num_examples].copy().
Error message: "ValueError: need at least one array to concatenate" It does not return the score for ood_num_examples.
Could you please let me know why this is the case?
Thanks and best regards,
Charanjit
Hi, I am testing the robustness of the OExp results against different ratios of in-distribution and OOD examples in the test set (in case of CIFAR10 dataset). I get an error if I consider this ratio below the ratio 1:50. The error is in 'get_ood_scores' subroutine where at the end in the else condition: return concat(_score)[:ood_num_examples].copy(). Error message: "ValueError: need at least one array to concatenate" It does not return the score for ood_num_examples. Could you please let me know why this is the case? Thanks and best regards, Charanjit