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"...
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.
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"...