|
发表于 2025-6-19 11:12:03
|
显示全部楼层
求助,5070检测不出人脸 报错:
Microsoft Windows [版本 10.0.26100.4349]
(c) Microsoft Corporation。保留所有权利。
D:\AIYTHL-50Series>deepface\python main.py
Custom GUI.py: Loading and applying modifications (v2)...
Custom GUI.py: Original GUI module loaded from D:\AIYTHL-50Series\rope\GUI.pyc.
Custom GUI.py: Script finished. Custom GUI class is now exposed.
CustomGUI init called.
CustomGUI: Original GUI init finished.
CustomGUI: Applying early customizations (title & icon)...
CustomGUI: Window title changed in early customizations.
CustomGUI: Calculated custom icon path for early customizations: D:\AIYTHL-50Series\123.ico
CustomGUI: Custom icon file 'D:\AIYTHL-50Series\123.ico' NOT FOUND for early customizations.
CustomGUI: Applying UI modifications in create_gui (labels)...
CustomGUI: UI modifications (labels) applied successfully in create_gui.
[ WARN:1@11.981] global cap_msmf.cpp:476 anonymous-namespace'::SourceReaderCB::OnReadSample videoio(MSMF): OnReadSample() is called with error status: -1072875772 [ WARN:1@11.988] global cap_msmf.cpp:488 anonymous-namespace'::SourceReaderCB::OnReadSample videoio(MSMF): async ReadSample() call is failed with error status: -1072875772
[ WARN:0@11.995] global cap_msmf.cpp:1795 CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -1072875772
[ERROR:0@13.808] global obsensor_uvc_stream_channel.cpp:158 cv: bsensor::getStreamChannelGroup Camera index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\AIYTHL-50Series\deepface\Lib\tkinter_init_.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\GUIElements.py", line 763, in <lambda>
self.button.configure(command=lambda: self.function())
^^^^^^^^^^^^^^^
File "GUI.py", line 1960, in load_all
File "GUI.py", line 2134, in load_input_faces
File "D:\AIYTHL-50Series\rope\Models.py", line 197, in run_detect
bboxes, kpss_5, kpss = self.detect_retinaface(img, max_num=max_num, score=score, use_landmark_detection=use_landmark_detection, landmark_detect_mode=landmark_detect_mode, landmark_score=landmark_score, from_points=from_points, rotation_angles=rotation_angles)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\Models.py", line 1047, in detect_retinaface
self.retinaface_model.run_with_iobinding(io_binding)
File "D:\AIYTHL-50Series\deepface\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 381, in run_with_iobinding
self._sess.run_with_iobinding(iobinding.iobinding, run_options)
RuntimeError: Error in execution: Non-zero status code returned while running TRTKernel_graph_torch-jit-export_18153684661485309312_0 node. Name:'TensorrtExecutionProvider_TRTKernel_graph_torch-jit-export_18153684661485309312_0_0' Status Message: TensorRT EP failed to create engine from network.
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\AIYTHL-50Series\deepface\Lib\tkinter_init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\GUIElements.py", line 763, in <lambda>
self.button.configure(command=lambda: self.function())
^^^^^^^^^^^^^^^
File "GUI.py", line 2000, in select_faces_path
File "GUI.py", line 2134, in load_input_faces
File "D:\AIYTHL-50Series\rope\Models.py", line 197, in run_detect
bboxes, kpss_5, kpss = self.detect_retinaface(img, max_num=max_num, score=score, use_landmark_detection=use_landmark_detection, landmark_detect_mode=landmark_detect_mode, landmark_score=landmark_score, from_points=from_points, rotation_angles=rotation_angles)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\Models.py", line 1047, in detect_retinaface
self.retinaface_model.run_with_iobinding(io_binding)
File "D:\AIYTHL-50Series\deepface\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 381, in run_with_iobinding
self._sess.run_with_iobinding(iobinding.iobinding, run_options)
RuntimeError: Error in execution: Non-zero status code returned while running TRTKernel_graph_torch-jit-export_18153684661485309312_0 node. Name:'TensorrtExecutionProvider_TRTKernel_graph_torch-jit-export_18153684661485309312_0_0' Status Message: No engine is found.
[ WARN:2@100.697] global cap_msmf.cpp:476 anonymous-namespace'::SourceReaderCB::OnReadSample videoio(MSMF): OnReadSample() is called with error status: -1072875772 [ WARN:2@100.712] global cap_msmf.cpp:488 anonymous-namespace'::SourceReaderCB::OnReadSample videoio(MSMF): async ReadSample() call is failed with error status: -1072875772
[ WARN:0@100.730] global cap_msmf.cpp:1795 CvCapture_MSMF::grabFrame videoio(MSMF): can't grab frame. Error: -1072875772
[ERROR:0@102.252] global obsensor_uvc_stream_channel.cpp:158 cv: bsensor::getStreamChannelGroup Camera index out of range
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\AIYTHL-50Series\deepface\Lib\tkinter_init.py", line 1967, in call
return self.func(*args)
^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\GUIElements.py", line 763, in <lambda>
self.button.configure(command=lambda: self.function())
^^^^^^^^^^^^^^^
File "GUI.py", line 1960, in load_all
File "GUI.py", line 2134, in load_input_faces
File "D:\AIYTHL-50Series\rope\Models.py", line 197, in run_detect
bboxes, kpss_5, kpss = self.detect_retinaface(img, max_num=max_num, score=score, use_landmark_detection=use_landmark_detection, landmark_detect_mode=landmark_detect_mode, landmark_score=landmark_score, from_points=from_points, rotation_angles=rotation_angles)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\AIYTHL-50Series\rope\Models.py", line 1047, in detect_retinaface
self.retinaface_model.run_with_iobinding(io_binding)
File "D:\AIYTHL-50Series\deepface\Lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 381, in run_with_iobinding
self._sess.run_with_iobinding(iobinding._iobinding, run_options)
RuntimeError: Error in execution: Non-zero status code returned while running TRTKernel_graph_torch-jit-export_18153684661485309312_0 node. Name:'TensorrtExecutionProvider_TRTKernel_graph_torch-jit-export_18153684661485309312_0_0' Status Message: No engine is found.
|
|