[Resource] Google Colab Notebook

Want to use Faceswap in The Cloud? This is not directly supported by the Devs, but you may find community support here


Forum rules

Read the FAQs and search the forum before posting a new topic.

NB: The Devs do not directly support using Cloud based services, but you can find community support here.

Please mark any answers that fixed your problems so others can find the solutions.

User avatar
Andentze
Posts: 9
Joined: Mon Dec 06, 2021 6:34 pm
Has thanked: 1 time
Been thanked: 15 times

Re: [Resource] Google Colab Notebook

Post by Andentze »

Unfortunately for all of us, Colab users, Google is blacklisting all notebooks which are associated with deepfaking by any means and are banning accounts which keep on using those notebooks.

Do not fret though, as I am currently searching for another way to use Faceswap in the cloud. I'll keep you guys updated if I do find one(either by creating a new topic or by replying to/editing this one).


User avatar
aolvera27
Posts: 24
Joined: Thu May 27, 2021 3:53 am
Answers: 1
Has thanked: 3 times
Been thanked: 4 times

Re: [Resource] Google Colab Notebook

Post by aolvera27 »

Same thing happened to me during the weekend. However, I noticed they updated the list of countries where Colab Pro is available, and it's now possible for me to suscribe (which I think is fair), and I can confirm that training a deepfake model is still allowed with a Pro account. It is a shame that the list of elligible countries is very limited, though.


User avatar
Andentze
Posts: 9
Joined: Mon Dec 06, 2021 6:34 pm
Has thanked: 1 time
Been thanked: 15 times

Re: [Resource] Google Colab Notebook

Post by Andentze »

Alright. Here's my plan. There's a theory that Google is hunting down the notebooks which have either DFL or Faceswap or anything that makes deepfaking possible, filters them and blocks them. So my idea is to spoof the notebook entirely so barely anything is left and minimize the chance of banning. That means no extract, no convert, no fancy stuff.
I am really not sure if this will work. Won't know if we don't try.

I will leave this here for you guys to see if that warning is gone and if it would return. For me, its basically gone.
https://colab.research.google.com/drive ... sp=sharing


User avatar
aolvera27
Posts: 24
Joined: Thu May 27, 2021 3:53 am
Answers: 1
Has thanked: 3 times
Been thanked: 4 times

No module named 'tensorflow_probability'

Post by aolvera27 »

I'm getting this error when attempting training or conversion on Colab. Extraction works just fine, and the Notebook had been working just fine until today. Is there some kind of update or maintenance going on?

06/24/2022 12:14:08 INFO Loading Model from Villain plugin...
06/24/2022 12:14:09 CRITICAL Error caught! Exiting...
06/24/2022 12:14:09 ERROR Caught exception in thread: '_training_0'
06/24/2022 12:14:11 ERROR Got Exception on main handler:
ModuleNotFoundError: No module named 'tensorflow_probability'


User avatar
Andentze
Posts: 9
Joined: Mon Dec 06, 2021 6:34 pm
Has thanked: 1 time
Been thanked: 15 times

Re: No module named 'tensorflow_probability'

Post by Andentze »

aolvera27 wrote: Fri Jun 24, 2022 5:23 pm

I'm getting this error when attempting training or conversion on Colab. Extraction works just fine, and the Notebook had been working just fine until today. Is there some kind of update or maintenance going on?

06/24/2022 12:14:08 INFO Loading Model from Villain plugin...
06/24/2022 12:14:09 CRITICAL Error caught! Exiting...
06/24/2022 12:14:09 ERROR Caught exception in thread: '_training_0'
06/24/2022 12:14:11 ERROR Got Exception on main handler:
ModuleNotFoundError: No module named 'tensorflow_probability'

I forgot to catch up with the updates that torzdf has pushed so far. Fixed, I think. I can't really test that as I have 0 models to train as of now.


Post Reply