v4.2.0 #880
Replies: 9 comments 8 replies
-
thank you very much!. |
Beta Was this translation helpful? Give feedback.
-
great start 👍 now i need to test in the bat the command python run.py --cuda_device_id 1 |
Beta Was this translation helpful? Give feedback.
-
sorry.. i am not a coder. so here is my poor result attempt on the screen grab. |
Beta Was this translation helpful? Give feedback.
-
NICE. will try it out! Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Hi, I tried to do a clean installation of the program on a Windows 10 operating system. The installation completes successfully, I also installed the ffmpeg libraries and everything else, but when I launch the program, it gives me an error saying that I don't have an NVidia graphics card installed. Thank you very much :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the update! |
Beta Was this translation helpful? Give feedback.
-
my old .bat file with python run.py --execution-provider dml doesnt work anymore, it says no such thing as --execution-provider dml, so i removed it, and just selected dml in the settings menu. and restarted, works ok. so no more selecting it in startup? |
Beta Was this translation helpful? Give feedback.
-
I usually use the command python run.py --execution-provider dml and it works. Now it is no longer able to run that way and I instead have to launch it the standard way with python run.py. I am able to launch roop however as soon as I interact with anything including changing my provider from cpu to dml I get this error: pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set If you got this error by calling handler() within For further information visit https://errors.pydantic.dev/2.9/u/schema-for-unknown-type I am a noob at coding and unsure of how to fix the issue or where to go. |
Beta Was this translation helpful? Give feedback.
-
Testing this out on Win11 with 2x GPUs. It seems to work, and the fails as soon as it hits the first face: RuntimeError: Error in execution: D:\a_work\1\s\onnxruntime\core\framework\utils.cc:167 onnxruntime::utils::BatchOrCopyMLValue allocator != nullptr was false. Failed to find allocator for device Device:[DeviceType:1 MemoryType:0 DeviceId:0] Full error message: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
Added ability to move input & target faces order
New CLI Arguments override settings
Small UI changes to faceswapping tab
Added mask option and code for restoration of original mouth area
Updated gradio to v4.42.0
Added CLI Arguments --server_share and --cuda_device_id
Added webp image support
Some additional notes:
Arguments
python run.py --server_share
starts a public serverpython run.py --cuda_device_id 1
would use cuda gpu number 1 instead of the default 0When using the installer, you need to add the commandline arguments here:
roop-unleashed/installer/windows_run.bat
Line 4 in ad04ab2
For example it should look like
set COMMANDLINE_ARGS=--cuda_device_id 1
if you want to use your 2nd cuda device (0 is the first)I didn't have the opportunity to test the cuda device selection as I only have 1, I'd be glad about feedback.
Mouth area restoration is hiding in the advanced masking settings. Be aware that this is pasting back all of the targets mouth area and therefore can easily destroy a lot of face similarity. I also set this to be always on for the live-cam.
This discussion was created from the release v4.2.0.
Beta Was this translation helpful? Give feedback.
All reactions