Page 1 of 1
How to train two models at the same time?
Posted: Wed Aug 26, 2020 2:08 am
by ericpan0513
So, after I was not able to train with both of my GPUs(p106-100s which took me a long time dealing with), I wonder if it's possible to open two faceswap at the same time to train two models with two GPUs. Or maybe train and convert at the same time? That will be cool.
Just curious. Thanks!
Re: Training two models at the same time?
Posted: Wed Aug 26, 2020 2:37 am
by bryanlyon
Yes you can do this, use the "exclude GPU" option to exclude different GPUs for each instance.
Re: Training two models at the same time?
Posted: Wed Aug 26, 2020 2:41 am
by ericpan0513
Thanks, but how can I start another training process? I cannot open two gui at the same time. Or it just works on cli?
Re: Training two models at the same time?
Posted: Wed Aug 26, 2020 2:50 am
by bryanlyon
The GUI just calls the CLI options, you can click "generate" to give you the command line option to run in another window. That said, you can run multiple GUIs using
Code: Select all
-LF LOGFILE, --logfile LOGFILE
Path to store the logfile. Leave blank to store in the
faceswap folder
Re: Training two models at the same time?
Posted: Wed Aug 26, 2020 2:59 am
by ericpan0513
Sorry, I don't quite understand what you mean. And what does the code mean?
Does it mean that I should use cli window?
Re: How to train two models at the same time?
Posted: Wed Aug 26, 2020 5:27 am
by abigflea
You can run 2 at the same time.
Will need 2 gpu.
You may open 2 gui and make sure each one has a different gpu selected in the 'exclude gpu' section.
2 gui running at the same time uses a bit of your ram. 16gb is fine.
Re: How to train two models at the same time?
Posted: Wed Aug 26, 2020 6:02 am
by ericpan0513
Yeh I know, I just don't know how to open two GUIs haha.
I use the win_launcher to open the second one, however the commend window just popped up and disappear quickly with opening the second GUI.
Re: How to train two models at the same time?
Posted: Wed Aug 26, 2020 7:28 am
by abigflea
Curious. I think mine just works.
Your's should too.
I'll try it in a few hours.
I can't remember without sitting at my computer but you can start a new conda environment and evoke the GUI.
I'll tell you in a few hours if someone doesn't beat me to it
Re: How to train two models at the same time?
Posted: Wed Aug 26, 2020 7:56 am
by ericpan0513
Thanks
And yes I start a new conda environment and it works. I just wanna know if there's a simpler way to do it.