Skip to content

cv2.dnn.readNetFromCaffe(prototxt, model) cv::OutOfMemoryError #1

@zg163zp2006

Description

@zg163zp2006
return self.view_functions[rule.endpoint](**req.view_args)

File "app.py", line 229, in home
xi, yi = detect_head(test_image_path)
File "app.py", line 62, in detect_head
net = cv2.dnn.readNetFromCaffe(prototxt, model)
cv2.error: OpenCV(4.1.2) C:\projects\opencv-python\opencv\modules\core\src\alloc.cpp:73: error: (-4:Insufficient memory) Failed to allocate 16154467024644 bytes in function 'cv::OutOfMemoryError'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions