You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way it's currently calculated, we end up adding a padded element to all feature vectors even when the batch size (or len(items)) is 1. Perhaps I'm wrong, but would you explain why the above formula is used?
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I am having some difficulty understanding how maximum pad lengths are calculated in the
collator
functions:Uni-Mol/unimol_plus/unimol_plus/data/pcq_dataset.py
Lines 181 to 182 in 7394647
The way it's currently calculated, we end up adding a padded element to all feature vectors even when the batch size (or
len(items)
) is 1. Perhaps I'm wrong, but would you explain why the above formula is used?Thank you!
The text was updated successfully, but these errors were encountered: