InhwanBae / LMTrajectory

Official Code for "Can Language Beat Numerical Regression? Language-Based Multimodal Trajectory Prediction (CVPR 2024)"
https://ihbae.com/publication/lmtrajectory/
Other
82 stars 6 forks source link

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

Open Elnath-123 opened 3 months ago

Elnath-123 commented 3 months ago

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 commented 3 months ago

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.