Faster image loading on Queue after batch has been transferred to GPU. #659
Replies: 3 comments 2 replies
-
As far as I know, the loaders keep working in the background all the time. Moreover, if you instantiate the queue with |
Beta Was this translation helpful? Give feedback.
-
@fepegar thanks for the quick reply! Maybe im not completely understanding how it is working under the hood. Just to clarify, on the queue, specifically this part:
The queue will be filled only when the patches list is empty. As soon as the last batch is processed all the workers will start filling up the patches list and the GPU might not be processing any batch. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot 🙌 I'll try your suggestions and take an in depth look at both issues and the suggested improvements. Good luck with your PhD! |
Beta Was this translation helpful? Give feedback.
-
Hi! I was taking a look at the
Queue
explanation here. I am not sure if understood correctly, but it seems the queue launches the workers to process the subjects only when empty; please correct me if I am wrong. If this is the case do you think there is a way to launch a worker as soon as a batch is transferred to the GPU instead of waiting until the queue is empty, maybe something like this can help.Beta Was this translation helpful? Give feedback.
All reactions