deepfakes / faceswap

Deepfakes Software For All
https://www.faceswap.dev
GNU General Public License v3.0
52.05k stars 13.18k forks source link

Error with tensorflow. #1386

Closed donleo78 closed 4 months ago

donleo78 commented 5 months ago

It gives me this message when i try to run it. I reinstalled everything from drivers, to cuda, and tensorflowm but still doesnt work.

H:\faceswap\faceswap>"C:\ProgramData\Miniconda3\scripts\activate.bat" && conda activate "faceswap" && python "H:\faceswap\faceswap/faceswap.py" gui Setting Faceswap backend to NVIDIA 05/01/2024 16:38:55 INFO Log level set to: INFO 05/01/2024 16:38:55 ERROR There was an error importing Tensorflow. This is most likely because you do not have TensorFlow installed, or you are trying to run tensorflow-gpu on a system without an Nvidia graphics card. Original import error: cannot import name 'builder' from 'google.protobuf.internal' (C:\ProgramData\miniconda3\envs\faceswap\lib\site-packages\google\protobuf\internal__init__.py) 05/01/2024 16:38:55 INFO Press "ENTER" to dismiss the message and close FaceSwap

torzdf commented 4 months ago

Most likely a conflict issue on your system. Follow these instructions: https://forum.faceswap.dev/app.php/faqpage?sid=cedfcaf51117788fac692b2e012df9b2#f1r1