mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-06 04:52:13 -07:00
DockerFile for Mac users to run DeepfaceLab with CPU Mode (#95)
* fix localization nullpointer exception * fix devicelib error line:61,remove e * support create docker from cpu dockerfile * support preview or not when train(resolve cannot connect to X server)
This commit is contained in:
parent
46bda1d683
commit
a8694b73f0
11 changed files with 247 additions and 9 deletions
|
@ -2,7 +2,8 @@
|
|||
import locale
|
||||
|
||||
system_locale = locale.getdefaultlocale()[0]
|
||||
system_language = system_locale[0:2]
|
||||
# system_locale may be nil
|
||||
system_language = system_locale[0:2] if system_locale is not None else "en"
|
||||
|
||||
windows_font_name_map = {
|
||||
'en' : 'cour',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue