Open DarksealStudios opened 7 months ago
It will be fixed in future updates (can't say exactly this year or after NY holidays)
You can set this path manually by editing this line and adding root
parameter (with path to the directory where you want to store the models\buffalo_l
folder):
https://github.com/Gourieff/ReActor-UI/blob/main/modules/face_analyser.py#L14
FACE_ANALYSER = insightface.app.FaceAnalysis(name='buffalo_l', providers=modules.globals.execution_providers, root='C:\ReActor-UI\models\analyzer')
With this example the real path to buffalo models should be: C:\ReActor-UI\models\analyzer\models\buffalo_l
Thank you so much! But, when I edited it to my root path I get an error: OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'F:\Ai\ReActor Main\ReActor-UI-main\x0benv'
full error:
libpng warning: iCCP: known incorrect sRGB profile
download_path: F:\Ai\ReActor Main\ReActor-UI-main♂env.insightface\modeluffalo_l\models\buffalo_l
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\Darkseal\AppData\Local\Programs\Python\Python310\lib\tkinter__init.py", line 1921, in call
return self.func(*args)
File "F:\Ai\ReActor Main\ReActor-UI-main\venv\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 553, in _clicked
self._command()
File "F:\Ai\ReActor Main\ReActor-UI-main\modules\ui.py", line 95, in
But, when I edited it to my root path I get an error: OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'F:\Ai\ReActor Main\ReActor-UI-main\x0benv' full error: libpng warning: iCCP: known incorrect sRGB profile download_path: F:\Ai\ReActor Main\ReActor-UI-main♂env.insightface\modeluffalo_l\models\buffalo_l
Because the part of your path "\x0b" is recognized as special symbol ♂ Try Unix path syntax instead 'F:/Ai/ReActor Main/ReActor-UI-main/x0benv/'
but what I changed was the location where to look for buffalo_l, so I tried "F:/Ai/ReActor Main/ReActor-UI-main/venv/.insightface/models/buffalo_l", but an error comes up so fast I cannot read it. I don't know where x0benv is, I can't find one, and don't see reference to it in the face_analyser.py I might just have to wait for that update. I need to learn more.
I am seeing this C:\Users\Darkseal/.insightface\models\buffalo_l\w600k_r50.onnx when looking for all of the buffalo_l files. Is there a way to edit this path in the program so that it looks inside the venv? I don't see a config files in the ReActor-UI, and would like to keep the venv contained.
halp!