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: 8
Joined: Mon Apr 12, 2021 11:31 pm

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 :?:


User avatar
torzdf
Posts: 1503
Joined: Fri Jul 12, 2019 12:53 am
Answers: 126
Has thanked: 54 times
Been thanked: 288 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: 8
Joined: Mon Apr 12, 2021 11:31 pm

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
```

Locked