Skip to content
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

How to implement multi-processing ? #2

Open
thangarajan8 opened this issue Oct 16, 2018 · 0 comments
Open

How to implement multi-processing ? #2

thangarajan8 opened this issue Oct 16, 2018 · 0 comments

Comments

@thangarajan8
Copy link

Hi,
I tried to run face detection using multi processing I am getting below error

Traceback (most recent call last): File "extract_face_MP.py", line 66, in main() File "extract_face_MP.py", line 56, in main pool.map(detect_face_yolo, image_paths) File "C:\Anaconda3\lib\multiprocessing\pool.py", line 260, in map return self._map_async(func, iterable, mapstar, chunksize).get() File "C:\Anaconda3\lib\multiprocessing\pool.py", line 608, in get raise self._value File "C:\Anaconda3\lib\multiprocessing\pool.py", line 119, in worker result = (True, func(*args, **kwds)) File "C:\Anaconda3\lib\multiprocessing\pool.py", line 44, in mapstar return list(map(*args)) File "extract_face_MP.py", line 40, in detect_face_yolo faces = yolo_face_detector.detect(img,draw_faces=False,include_score=True) File "C:\Anaconda3\lib\site-packages\hof\face_detectors.py", line 223, in detect detections = self.net.forward() cv2.error: OpenCV(3.4.3) C:\projects\opencv-python\opencv\modules\dnn\src\dnn.cpp:686: error: (-215:Assertion failed) mapIt != reuseMap.end() in function 'cv::dnn::experimental_dnn_34_v7::BlobManager::releaseReference'

What was the issue sorry I new to CV and Yolo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant