|
本帖最后由 邪魔天使 于 2023-7-22 11:15 编辑
run.py --execution-provider cuda --frame-processor face_enhancer --execution-threads 4
[ROOP.FACE-ENHANCER] Progressing...
Exception in Tkinter callback
Traceback (most recent call last):
File "E:\AI\roop1.2\python3\lib\tkinter\__init__.py", line 1921, in __call__
return self.func(*args)
File "E:\AI\roop1.2\python3\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 554, in _clicked
self._command()
File "E:\AI\roop1.2\roop\ui.py", line 103, in <lambda>
start_button = ctk.CTkButton(root, text='Start', cursor='hand2', command=lambda: select_output_path(start))
File "E:\AI\roop1.2\roop\ui.py", line 199, in select_output_path
start()
File "E:\AI\roop1.2\roop\core.py", line 144, in start
frame_processor.process_image(roop.globals.source_path, roop.globals.output_path, roop.globals.output_path)
File "E:\AI\roop1.2\roop\processors\frame\face_enhancer.py", line 93, in process_image
result = process_frame(None, None, target_frame)
File "E:\AI\roop1.2\roop\processors\frame\face_enhancer.py", line 75, in process_frame
many_faces = get_many_faces(temp_frame)
File "E:\AI\roop1.2\roop\face_analyser.py", line 41, in get_many_faces
return get_face_analyser().get(frame)
File "E:\AI\roop1.2\roop\face_analyser.py", line 18, in get_face_analyser
FACE_ANALYSER = insightface.app.FaceAnalysis(name='buffalo_l', providers=roop.globals.execution_providers)
File "E:\AI\roop1.2\python3\lib\site-packages\insightface\app\face_analysis.py", line 43, in __init__
assert 'detection' in self.models
AssertionError
|
|