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
I want a batch_size=16 so I have defined the max_cuts argument. But, when I calculate for my training loop the total number of iterations as len(trainloader), I get the error TypeError: object of type 'SimpleCutSampler' has no len().
When I define my own samplers without lhotse there is always a method len that calculates the total number of batches, is this not implemented here?
The text was updated successfully, but these errors were encountered:
I have prepared a dataset with Cuts as mentioned in the tutorial:
I want a batch_size=16 so I have defined the max_cuts argument. But, when I calculate for my training loop the total number of iterations as
len(trainloader)
, I get the errorTypeError: object of type 'SimpleCutSampler' has no len()
.When I define my own samplers without lhotse there is always a method len that calculates the total number of batches, is this not implemented here?
The text was updated successfully, but these errors were encountered: