Page 1 of 1

Live Preview with Colab

Posted: Thu Apr 15, 2021 6:04 am
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 :?:


Re: Live Preview with Colab

Posted: Fri Apr 16, 2021 10:21 am
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)


Re: Live Preview with Colab

Posted: Mon Apr 19, 2021 5:03 pm
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```