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!
How to train two models at the same time?
Read the FAQs and search the forum before posting a new topic.
This forum is for discussing tips and understanding the process involved with Training a Faceswap model.
If you have found a bug are having issues with the Training process not working, then you should post in the Training Support forum.
Please mark any answers that fixed your problems so others can find the solutions.
- ericpan0513
- Posts: 23
- Joined: Wed Jul 22, 2020 3:34 am
- Has thanked: 6 times
How to train two models at the same time?
- bryanlyon
- Site Admin
- Posts: 793
- Joined: Fri Jul 12, 2019 12:49 am
- Location: San Francisco
- Has thanked: 4 times
- Been thanked: 218 times
- Contact:
Re: Training two models at the same time?
Yes you can do this, use the "exclude GPU" option to exclude different GPUs for each instance.
- ericpan0513
- Posts: 23
- Joined: Wed Jul 22, 2020 3:34 am
- Has thanked: 6 times
Re: Training two models at the same time?
Thanks, but how can I start another training process? I cannot open two gui at the same time. Or it just works on cli?
- bryanlyon
- Site Admin
- Posts: 793
- Joined: Fri Jul 12, 2019 12:49 am
- Location: San Francisco
- Has thanked: 4 times
- Been thanked: 218 times
- Contact:
Re: Training two models at the same time?
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
- ericpan0513
- Posts: 23
- Joined: Wed Jul 22, 2020 3:34 am
- Has thanked: 6 times
Re: Training two models at the same time?
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?
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.
I dunno what I'm doing
2X RTX 3090 : RTX 3080 : RTX: 2060 : 2x RTX 2080 Super : Ghetto 1060
- ericpan0513
- Posts: 23
- Joined: Wed Jul 22, 2020 3:34 am
- Has thanked: 6 times
Re: How to train two models at the same time?
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?
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
I dunno what I'm doing
2X RTX 3090 : RTX 3080 : RTX: 2060 : 2x RTX 2080 Super : Ghetto 1060
- ericpan0513
- Posts: 23
- Joined: Wed Jul 22, 2020 3:34 am
- Has thanked: 6 times
Re: How to train two models at the same time?
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.