im running the following code
bounding_boxes, landmarks = detect_faces(img)
and the following error is occurring
TypeError Traceback (most recent call last)
in
----> 1 bounding_boxes, landmarks = detect_faces(img)
~\Downloads\InsightFace_Pytorch-master\mtcnn_pytorch\src\detector.py in detect_faces(image, min_face_size, thresholds, nms_thresholds)
23
24 # LOAD MODELS
---> 25 pnet = PNet()
26 rnet = RNet()
27 onet = ONet()
~\Downloads\InsightFace_Pytorch-master\mtcnn_pytorch\src\get_nets.py in __init__(self)
29 def __init__(self):
30
---> 31 super(PNet, self).__init__()
32
33 # suppose we have input with size HxW, then
TypeError: super(type, obj): obj must be an instance or subtype of type
im running the following code bounding_boxes, landmarks = detect_faces(img) and the following error is occurring
TypeError Traceback (most recent call last)