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

What's the meaning of setting top_k to 0? #4

Open
Elnath-123 opened this issue Jul 7, 2024 · 1 comment
Open

What's the meaning of setting top_k to 0? #4

Elnath-123 opened this issue Jul 7, 2024 · 1 comment

Comments

@Elnath-123
Copy link

Hello, Thank you for the great work!

What is the meaning of setting top_k to 0, and why set it to 0, in the config files when conducting stochastic trajectory prediction?

@InhwanBae
Copy link
Owner

Hi @Elnath-123,

When top_k is set to 0 (the default), top-k sampling is deactivated. Setting it to a positive value activates sampling. This link might be helpful for you.

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

2 participants