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
Fantastic job! But I'd like to ask if there would be some another gains by designing an async implementation and bind them to python with __anext__ and __aiter__, since data loading is highly related to IO.
The text was updated successfully, but these errors were encountered:
Thanks! I don't think asynchronous iteration would be helpful in our particular case.
Background fetching of the next sample or batch is achieved using the prefetch method. This leaves the python thread to process the batch while in the background other threads are fetching the next samples. If you have a particular use case that we might have missed which would benefit from python's asyncio then we 'd love to reevaluate.
Fantastic job! But I'd like to ask if there would be some another gains by designing an async implementation and bind them to python with
__anext__
and__aiter__
, since data loading is highly related to IO.The text was updated successfully, but these errors were encountered: