DeepFaceLab icon indicating copy to clipboard operation
DeepFaceLab copied to clipboard

linux: is_colab false positive in /core/interact/interact.py

Open bill-baklushi opened this issue 5 years ago • 1 comments

Hello.

This code

try:
    import IPython #if success we are in colab
    from IPython.display import display, clear_output
    import PIL
    import matplotlib.pyplot as plt
    is_colab = True
except:
    is_colab = False

causes windows to not display. I am patching it every time after git pull... Is there an other way to detect colab and don't uninstall IPhython?

bill-baklushi avatar Jul 13 '20 16:07 bill-baklushi

Did you ever find the answer? If so, would you mind sharing it and closing this issue?

ghost avatar Jun 08 '23 23:06 ghost