mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-16 10:03:41 -07:00
_
This commit is contained in:
parent
c900c65c31
commit
27e24d5d28
4 changed files with 9 additions and 25 deletions
10
core/osex.py
10
core/osex.py
|
@ -33,12 +33,4 @@ def get_screen_size():
|
|||
elif 'linux' in sys.platform:
|
||||
pass
|
||||
|
||||
return (1366, 768)
|
||||
|
||||
def linux_ignore_UserWarning():
|
||||
if sys.platform[0:3] != 'win':
|
||||
# fix for Linux , Ignoring :
|
||||
# /usr/lib/python3.6/multiprocessing/semaphore_tracker.py:143:
|
||||
# UserWarning: semaphore_tracker: There appear to be 1 leaked semaphores to clean up at shutdown
|
||||
import warnings
|
||||
warnings.filterwarnings(action='ignore', message='semaphore_tracker')
|
||||
return (1366, 768)
|
Loading…
Add table
Add a link
Reference in a new issue