chervonij / DFL-Colab

DeepFaceLab fork which provides IPython Notebook to use DFL with Google Colab
1.05k stars 265 forks source link

Way to override model settings? (Unable to send Enter on Google Colab) #41

Closed Secmess closed 2 years ago

Secmess commented 2 years ago

So, before you start training, there's a prompt to send Enter so that you can override existing model settings (such as swapping from pre-training to training, etc). In the original .bat programs, this wouldn't be a problem, but I still haven't find a way to trigger this on Google Colab.

I tried using !yes "\n" | python $train_cmd, but it's also automatically send enter on the rest of the prompts (so you have to make a long string of all the answers beforehand, which is unintuitive).

Below is the result when I tried to use !yes "\n"...

image

Secmess commented 2 years ago

Turns out it's the problem with my runtime. I started a new runtime and Colab is able to recognize empty Enter input just fine. So if any of you get into this problem, it's not the Colab behavior in nature.