-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pocket.utils.DetectionAPMeter [Errno24] Too many open files #6
Comments
The distinction of |
A simple fix for this issue is to increase the number of files allowed to be opened, using the following command (replace |
The problem appears to have been fixed with 94e22cf, which specified the number of subprocesses to spawn |
Following
pocket.utils.AveragePrecisionMeter
,DetectionAPMeter
uses multiprocessing to evaluate APs of different classes.multiprocessing.Pool.imap
is used specifically. There have been issues previously regarding the choice of chunk size. It was resolved by applying the heuristics adopted inmultiprocessing.Pool.map
. The current issue is a bit bizarre because Errno24 appears when there are a large number of classes (e.g. >300) . YetAveragePrecisionMeter
, with similar mechanism, works perfectly regardless of the number of classes or examples.The text was updated successfully, but these errors were encountered: