Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding the "select" parameter for inlier generation #23

Open
Shivam101s opened this issue Oct 3, 2024 · 0 comments
Open

Regarding the "select" parameter for inlier generation #23

Shivam101s opened this issue Oct 3, 2024 · 0 comments

Comments

@Shivam101s
Copy link

Hello, appreciate you for this great work. I have a question, why in the below lines of code from get_embed_cifar100.py file, default select is 50 for outlier generation and default select is 1000 for inlier generation (what's the intuition behind it ?), and what will happen when this select value 1000, is greater than K, which is true based on this code (Select=1000>K=300). Wouldn't there be "selected index k out of range" error ? Can you explain this issue, if it is an issue !? Thank you !!

parser.add_argument('--ood_det_select', type=int, default=50)
parser.add_argument('--ood_gene_select', type=int, default=1000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant