You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "face_service.py", line 101, in face_detection
bboxes = RetinaFace.detect_faces(image)
File "/usr/local/lib/python3.8/dist-packages/retinaface/RetinaFace.py", line 91, in detect_faces
net_out = [elt.numpy() for elt in net_out]
File "/usr/local/lib/python3.8/dist-packages/retinaface/RetinaFace.py", line 91, in <listcomp>
net_out = [elt.numpy() for elt in net_out]
File "/usr/local/lib/python3.8/dist-packages/tensorflow/python/framework/ops.py", line 401, in __getattr__
self.__getattribute__(name)
AttributeError: 'Tensor' object has no attribute 'numpy'
The text was updated successfully, but these errors were encountered:
madityarafip
changed the title
Get AttributeError: 'Tensor' object has no attribute 'numpy'
Get AttributeError: 'Tensor' object has no attribute 'numpy' when RetinaFace.detect_faces(image)
Mar 28, 2022
The text was updated successfully, but these errors were encountered: