Search found 27 matches

by aolvera27
Fri Aug 26, 2022 1:24 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

Well, this looks like it should be an easy fix, but I can't work it out. When I try to copy the contents of Google Drive to a Colab session: !cp "/content/drive/My Drive/colab_files/faces/face_a.zip" . !cp "/content/drive/My Drive/colab_files/faces/face_b.zip" . !unzip face_a.zip...
by aolvera27
Fri Jul 08, 2022 3:05 am
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

You were right. Updating matplotlib to 3.5.2 did the trick.

Thanks!

by aolvera27
Thu Jul 07, 2022 1:09 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

So I got this new error: ModuleNotFoundError: No module named 'ipykernel' I dutifully wrote !conda install ipykernel , and it worked for a couple of days, but now I got this message: KeyError: 'figure.raise_window is not a valid rc parameter (see rcParams.keys() for a list of valid parameters)' As b...
by aolvera27
Fri Jun 24, 2022 5:23 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

No module named 'tensorflow_probability'

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 CRITICA...
by aolvera27
Mon Jun 20, 2022 8:05 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

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...
by aolvera27
Thu Jun 16, 2022 1:40 am
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

Tried several things (again) but to no avail (once again). I'm getting this error when trying to convert. ImportError: cannot import name 'Literal' from 'typing' (/usr/local/lib/python3.7/typing.py) I've tried downgrading and upgrading Tensorflow, and even Python, but that doesn't fix the issue, pro...
by aolvera27
Wed Jun 08, 2022 4:23 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

=============== State File ================= { "name": "villain", "sessions": { "1": { "timestamp": 1651689293.0022888, "no_logs": false, "loss_names": [ "total", "face_a", "face_b" ], "batchsiz...
by aolvera27
Wed Jun 08, 2022 4:23 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

I'm sorry. I feel like it's always me having these issues. I haven't changed my workflow but I'm getting this problem now when startina trainning session: Caught exception in thread: '_training_0' AttributeError: 'LossWrapper' object has no attribute ' name ' 06/08/2022 11:00:57 MainProcess _trainin...
by aolvera27
Thu May 12, 2022 12:14 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

I was excited because that's exactly what I thought, that there must have been an update running, affecting Python. However, I'm getting an almost identical error now: Setting Faceswap backend to NVIDIA Traceback (most recent call last): File "faceswap/faceswap.py", line 6, in <module> fro...
by aolvera27
Wed May 11, 2022 11:43 pm
Forum: Cloud Discussion
Topic: [Resource] Google Colab Notebook
Replies: 32
Views: 52631

Re: [Resource] Google Colab Notebook

Thanks a lot! It actually worked flawlessly, as you said. Only today I started getting this message when trying to run trainning: Setting Faceswap backend to NVIDIA Traceback (most recent call last): File "faceswap/faceswap.py", line 6, in <module> from lib.cli import args as cli_args File...
by aolvera27
Mon Feb 21, 2022 6:40 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

Sorry for replying to myself. I checked Andentze's way of setting up Faceswap in Colab, which he shares here and I updated my Notebook accordingly. !pip install -r faceswap/_requirements_base.txt !git clone https://github.com/andentze/facecolab_requirements !pip uninstall -y tensorflow !pip install ...
by aolvera27
Mon Feb 21, 2022 4:46 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

This stopped working again, which makes me wonder if they're purposefully trying to prevent people from using their GPU resources on Faceswap. =p The error seems pretty easy. When trying to run training, it quickly tells me that Tensorflow should be downgraded from 2.8 to 2.7, and also this: module ...
by aolvera27
Sat Feb 05, 2022 11:16 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

You're probably right. It works again now.

by aolvera27
Thu Jan 27, 2022 6:58 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

And here's the second part of the crash report: =============== State File ================= { "name": "villain", "sessions": { "1": { "timestamp": 1641934344.543849, "no_logs": false, "loss_names": [ "total", "face...
by aolvera27
Thu Jan 27, 2022 6:58 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

I couldn't fit everything in just one post, but here's the first part of crash report: 01/27/2022 11:39:46 MainProcess _training_0 _base _overlay_foreground DEBUG Overlayed foreground. Shape: (14, 150, 150, 3) 01/27/2022 11:39:46 MainProcess _training_0 _base _overlay_foreground DEBUG Overlayed fore...
by aolvera27
Thu Jan 27, 2022 6:57 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

Oops... this just happened after days of using Colab happily and not messing with anything else: [12:28:15] [#220292] Loss A: 0.01102, Loss B: 0.0174001/27/2022 12:28:18 CRITICAL Error caught! Exiting... 01/27/2022 12:28:18 ERROR Caught exception in thread: '_training_0' 01/27/2022 12:28:20 ERROR Go...
by aolvera27
Mon Jan 17, 2022 6:32 pm
Forum: Training Discussion
Topic: Should I select pics of face partially blocked?
Replies: 2
Views: 1843

Re: Should I select pics of face partially blocked?

From the advice I've read from more experienced people, and the little experience I've acquired myself, the answer is "it depends" (which is the answer you'll get the most). Ideally, you want clear, quality faces with no obstacles, unless you're going to swap to another face that is being ...
by aolvera27
Sun Jan 16, 2022 5:49 am
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

You're right, it works! I actually had done some messy modifications along the way to get it to work (without knowing what I was doing), and they had been working. But as of today, the best way to go is just use the original notebook with the two modifications you mention. I'm also throwing the !ech...
by aolvera27
Fri Jan 14, 2022 8:30 pm
Forum: Cloud Discussion
Topic: [Outdated] Training Using Google Colab
Replies: 66
Views: 137896

Re: [Resource] Training Using Google Colab

Running on Colab is getting difficult day by day as Google keeps on changing many things. Above error is due to latest imageio plugin which appears to be not yet supported by Faceswap. Very crude way of getting it worked again on Colab is as follows, Use !pip install -r faceswap/_requirements_base....
by aolvera27
Thu Sep 16, 2021 8:46 pm
Forum: Training Support
Topic: Sudden error in the middle of training session
Replies: 1
Views: 5281

Re: Sudden error in the middle of training session

Sorry for double posting. I think I've solved it, and I guess I should post this in case someone has similar issues. I checked my dataset again, and I noticed two files were modified after extraction. I was preparing a set for fit training with no-flip, and it seems I edited the extracts by mistake,...