Search found 16 matches

by mongplea
Tue Jun 16, 2020 12:06 am
Forum: Training Discussion
Topic: Question about Size
Replies: 3
Views: 3998

Re: Question about Size

bryanlyon wrote: Mon Jun 15, 2020 4:42 pm

Just leave it at 256 for Villain. You wont get any difference in results by changing that.

So 128Px Training speed is faster than 256Px ?

by mongplea
Mon Jun 15, 2020 3:33 pm
Forum: Training Discussion
Topic: Question about Size
Replies: 3
Views: 3998

Question about Size

I am going to train using the Villain model
As you know, Villain model is 128px input, 128px output
Then, when extracting the face from the video, is there a difference between 128px and 256px, 512px?

by mongplea
Tue Apr 28, 2020 2:53 am
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

torzdf wrote: Tue Apr 28, 2020 1:22 am

Found it!

KERAS_BACKEND=plaidml.keras.backend

Go and delete this environment variable (KERAS_BACKEND)

https://support.foundry.com/hc/en-us/ar ... -variables

Thanks
The problem seems to have been solved.
Thank you so much for your help

by mongplea
Tue Apr 28, 2020 12:55 am
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

Can you open up an Anaconda Prompt: Start > Anaconda Prompt then issue the following commands and paste the output: conda activate faceswap set Thank you. My reply was late. I pasted the output Please check the Issue (base) C:\Users\M>conda activate faceswap (faceswap) C:\Users\M>set ALLUSERSPROFIL...
by mongplea
Mon Apr 27, 2020 6:20 am
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

In the past, you have installed something somewhere that has set a Keras backend to plaidml.... Where this is, I do not know, as the file I got you to edit SHOULD be the Keras config file. When I'm back at my PC I will check for a python command to change the keras backend, which will hopefully fix...
by mongplea
Sun Apr 26, 2020 4:27 pm
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

This isn't your issue, but it is likely to cause you problems in the future. Your issue is that Keras thinks it should be using plaidML as the backend, when it should in fact be using tensorflow Unfortunately, the same error is repeated over and over and over again. When checking the Keras.json fil...
by mongplea
Sun Apr 26, 2020 12:16 pm
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

torzdf wrote: Sun Apr 26, 2020 11:35 am

You shouldn't install Cuda at all. Completely remove if from your system.

Faceswap installs a local version inside your Conda Faceswap environment. Any system version is likely to cause conflicts.

Oh! No!
maybe I will re-install faceswap...

by mongplea
Sun Apr 26, 2020 11:23 am
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Re: Extract error

Ok. Somehow, in a previous install (of Faceswap or something else) it looks like you have managed to set the Keras backend to plaidML. You should be able to change this my navigating to the file: %USERPROFILE%/.keras/keras.json And changing the backend value to tensorflow (i.e: "backend":...
by mongplea
Sun Apr 26, 2020 10:24 am
Forum: Training Support
Topic: Is this normal operation?
Replies: 2
Views: 3371

Re: Is this normal operation?

It is normal if the 1070 was trained on Tensorflow and the 2070 on plaidML. Ultimately, your install is a mess, and trouble shooting all the conflicts that have been introduced is going to be next to impossible. I suggest scrubbing clean (following ALL of the steps in the link) and re-installing: h...
by mongplea
Sun Apr 26, 2020 9:42 am
Forum: Extract Support
Topic: Extract: ValueError: Unable to import backend : plaidml.keras.backend
Replies: 12
Views: 13729

Extract: ValueError: Unable to import backend : plaidml.keras.backend

I deleted and reinstalled the face swap several times. However, due to the plaidml error below, extract and train are not possible. I am using RTX2070 super and did not install Plaidml because I chose NVIDIA GPU when installing facewap. I followed the steps below. https://github.com/deepfakes/facesw...
by mongplea
Sat Apr 25, 2020 5:53 am
Forum: Training Support
Topic: Is this normal operation?
Replies: 2
Views: 3371

Is this normal operation?

When I start Training C:\Users\M\anaconda3\python.exe C:\Users\M\faceswap\faceswap.py train -A C:/faceswap_test/test_3/out_extract/out_u -B C:/faceswap_test/test_3/out_extract/out_s -m C:/faceswap_test/test_3/model/model_6 -t original -bs 64 -it 1000000 -g 1 -s 100 -ss 25000 -ps 50 -L INFO referred ...
by mongplea
Sat Apr 25, 2020 1:14 am
Forum: Extract Support
Topic: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?
Replies: 9
Views: 9822

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

The Nvidia library is failing and it's falling back to plaidml. You shouldn't even have plaidml installed, so remove that. Once done, It'll probably fail, but at least you'll get a reason why. Also, post output of help > output system info please. pip uninstall plaidml pip uninstall plaidml-keras p...
by mongplea
Sat Apr 25, 2020 12:05 am
Forum: Extract Support
Topic: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?
Replies: 9
Views: 9822

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

Help > Update Faceswap... Restart Faceswap Thanks and I have another issue about Train I recently replaced the GPU. EGs/sec value is very lower than GTX1070TI #3,#4 used GTX1070 Ti ~ EGs/sec :130 #5,#6 used RTX2070 super ~ EGs/sec :74 and GPU Load and GPU Men is lower than 50% used I attached when ...
by mongplea
Fri Apr 24, 2020 4:11 pm
Forum: Extract Support
Topic: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?
Replies: 9
Views: 9822

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

It shouldn't be looking for plaidml then. I suggest you delete your faceswap folder and re-run the installer, making sure you select the "NVIDIA" option when prompted. Thank you But unfortunately when I reinstall and clicked extract show this log 04/25/2020 01:08:41 ERROR Got Exception on...
by mongplea
Fri Apr 24, 2020 3:44 pm
Forum: Extract Support
Topic: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?
Replies: 9
Views: 9822

Re: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

torzdf wrote: Fri Apr 24, 2020 3:39 pm

You don't have plaidml installed. How did you install Faceswap. What OS? What GPU?

Install faceswap_setup_x64
os is win10
GPU is RTX2070 Super

Is there a post I can refer to?

by mongplea
Fri Apr 24, 2020 3:33 pm
Forum: Extract Support
Topic: ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?
Replies: 9
Views: 9822

ValueError: Unable to import backend : plaidml.keras.backend - How Can I solve it?

How Can I solve it? 04/24/2020 21:35:15 MainProcess MainThread logger log_setup INFO Log level set to: INFO 04/24/2020 21:35:15 MainProcess MainThread launcher execute_script DEBUG Executing: train. PID: 16444 04/24/2020 21:35:18 MainProcess MainThread launcher _test_for_tf_version DEBUG Installed T...