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
Allow that samples themselves specify a weight to be used for sampling these.
A possible implementation could be:
Fill a buffer with buffer_size samples
From that buffer, pick one sample based on sampling weight, and yield that sample
Discard one random sample from the buffer based on inverse weight
Add two new samples to the buffer
But this has the downside, that half of the samples is discarded although being loaded. Research for better algorithms.
The sample weight shall be configured in the task encoder.
The text was updated successfully, but these errors were encountered:
Allow that samples themselves specify a weight to be used for sampling these.
A possible implementation could be:
buffer_size
samplesBut this has the downside, that half of the samples is discarded although being loaded. Research for better algorithms.
The sample weight shall be configured in the task encoder.
The text was updated successfully, but these errors were encountered: