hphuongdhsp/retinaface

No module named 'retinaface.layers.functions'

Samiddha99 opened this issue · 0 comments

from retinaface import RetinafaceDetector
During the above import I am getting the error: No module named 'retinaface.layers.functions'

Here is the Traceback of the error:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-7-7d7e4a1a7568>](https://localhost:8080/#) in <cell line: 35>()
     33 import mediapipe as mp
     34 import face_detection
---> 35 from retinaface import RetinafaceDetector


[/usr/local/lib/python3.10/dist-packages/retinaface/__init__.py](https://localhost:8080/#) in <module>
      1 __version__ = "0.0.1"
----> 2 from .detector import RetinafaceDetector

[/usr/local/lib/python3.10/dist-packages/retinaface/detector.py](https://localhost:8080/#) in <module>
      6 
      7 from .data import cfg_mnet
----> 8 from .layers.functions.prior_box import PriorBox
      9 from .loader import load_model
     10 from .utils.box_utils import decode, decode_landm

[/usr/local/lib/python3.10/dist-packages/retinaface/layers/__init__.py](https://localhost:8080/#) in <module>
----> 1 from .functions import *
      2 from .modules import *

ModuleNotFoundError: No module named 'retinaface.layers.functions'