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
Each worker thread is the multiprocessing though, and each example is emitted one by one by the datapipes before it, so not sure multiprocessing that code would speed it up at all. Adding more workers seems like probably the best solution to it, I would think.
Unless we want to break that each datapipe is independent of other ones, in which case we could maybe make a function or datapipe that loads multiple examples per step at once, and then gives them all to the next datapipe, still not sure that would be faster though
Instead of looping on the batch, could we use multi processing?
code is here
The text was updated successfully, but these errors were encountered: