hacksider / Deep-Live-Cam

real time face swap and one-click video deepfake with only a single image
GNU Affero General Public License v3.0
41.26k stars 6.02k forks source link

Preview doesn't work HELP please #725

Closed Montana7786 closed 1 month ago

Montana7786 commented 1 month ago

Hi, When I click on the live button, the preview only shows a grey screen with nothing on it.

Maybe it's because of this error :

Installing collected packages: typing-extensions Attempting uninstall: typing-extensions Found existing installation: typing_extensions 4.6.1 Uninstalling typing_extensions-4.6.1: Successfully uninstalled typing_extensions-4.6.1 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pydantic 2.9.0 requires typing-extensions>=4.6.1; python_version < "3.13", but you have typing-extensions 4.5.0 which is incompatible. pydantic-core 2.23.2 requires typing-extensions!=4.7.0,>=4.6.0, but you have typing-extensions 4.5.0 which is incompatible. ipython 8.27.0 requires typing-extensions>=4.6; python_version < "3.12", but you have typing-extensions 4.5.0 which is incompatible. Successfully installed typing-extensions-4.5.0

And I also get this, even after I used the replacement version:

onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from C:\Users\User\Deep-Live-Cam\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.

KRSHH commented 1 month ago

Check #717

Montana7786 commented 1 month ago

I dont get the error anymore, thanks but do you know why my results are that bad ? image

KRSHH commented 1 month ago

Use Face Enhancer when using prerecorded high res target image/video.