mirror of
https://github.com/zebrajr/faceswap.git
synced 2025-12-06 00:20:09 +01:00
Suppress ptxas error in GUI on Windows
This commit is contained in:
parent
15501b1e9e
commit
24888f61c3
|
|
@ -248,6 +248,7 @@ class FaceswapControl():
|
|||
if os.name == "nt" and "Call to CreateProcess failed. Error code: 2" in output:
|
||||
# Suppress ptxas errors on Tensorflow for Windows
|
||||
logger.debug("Suppressed call to subprocess error: '%s'", output)
|
||||
continue
|
||||
print(output.strip(), file=sys.stderr)
|
||||
logger.debug("Terminated stderr reader")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user