Open tokafondo opened 8 months ago
[WinError 32] El proceso no tiene acceso al archivo porque está siendo utilizado por otro proceso: 'C:\\Users\\Yo\\faceswap\\faceswap.log' -> 'C:\\Users\\Yo\\faceswap\\faceswap.log.1'
This is spanish for The process cannot access the file because it is being used by another process
Hi. I'm trying to use two faceswap instances in parallel. One of them is using GPU and I want to use the another one with only CPU for secondary tasks.
I use
python faceswap.py gui -LF c:\temp\faceswap.log.2 -X0
to start the secondary instance.When I try to run a sort task in this secondary instance, I get this:
It seems that internally, it's still using the main log, because the -LF option doesn't get carried to the
sort
command.If I run
python.exe faceswap\tools.py sort -i C:/workspace.blade/Ford/Ford1 -s none -g face -t -1.0 -b 5 -lf sort_log.json -L INFO -LF c:\temp\faceswap.log.3
directly in the console, it works in parallel with the main instance.