Live Preview with Colab

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.

Locked
User avatar
HoloByteus
Posts: 19
Joined: Mon Apr 12, 2021 11:31 pm
Been thanked: 3 times

Live Preview with Colab

Post by HoloByteus »

I tried using the -p option in Colab and it ended up crashing and corrupting the .h5 file in the model, thankful for the backup. :mrgreen: Tried several times with the same result.

Has anyone got live preview to work with Colab :?:

HTPC: Windows 11 Pro, 12700K, 32GB, MSI Z690 Carbon, Strix 3060, 2x2TB FireCuda 530, 2x18TB Seagate EXO.
AV: Denon X3800H, Outlaw 7000X Amp, Hisense 65H9F, Panamax MR4300

User avatar
torzdf
Posts: 2651
Joined: Fri Jul 12, 2019 12:53 am
Answers: 159
Has thanked: 129 times
Been thanked: 622 times

Re: Live Preview with Colab

Post by torzdf »

I'm pretty certain it doesn't work, and you have to use the -w flag to write out the preview image to the faceswap folder (which you can then pull down locally to view)

My word is final

User avatar
HoloByteus
Posts: 19
Joined: Mon Apr 12, 2021 11:31 pm
Been thanked: 3 times

Re: Live Preview with Colab

Post by HoloByteus »

-w works! You can even bring it up in the notebook with split or tabbed views. Unfortunately it doesn't automatically update in the viewer but just to have easy access to it makes the whole platform more productive.

Put a markup cell with a code segment above training with the path to the preview. Just click the link to bring up a preview tab.

Code: Select all

```/content/faceswap/training_preview.jpg```

HTPC: Windows 11 Pro, 12700K, 32GB, MSI Z690 Carbon, Strix 3060, 2x2TB FireCuda 530, 2x18TB Seagate EXO.
AV: Denon X3800H, Outlaw 7000X Amp, Hisense 65H9F, Panamax MR4300

Locked