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
What does this parameter control? I can see that it was store in the self.source_probs variable but i cannot really understand what it is trying to do in the getitem function? and why s is updated as s += self.source_probs[i] at the end of each For loop?
(In dataloader.py)
Anyone can educate me please?
Many thanks in advance
The text was updated successfully, but these errors were encountered:
Hi, this 'prob' parameter controls the frequency of the sampled data from the datasets.
For example, you have two datasets, with two different probabilities, 0.8 and 0.2 respectively (As the sum should be 1)
(In pretrain notebook)
What does this parameter control? I can see that it was store in the self.source_probs variable but i cannot really understand what it is trying to do in the getitem function? and why s is updated as s += self.source_probs[i] at the end of each For loop?
(In dataloader.py)
Anyone can educate me please?
Many thanks in advance
The text was updated successfully, but these errors were encountered: