This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_gpu_support(): | |
"""Check CUDA compatibility with TensorFlow & DLIB. | |
""" | |
import os | |
import dlib | |
import tensorflow as tf | |
print("[INFO] TensorFlow: ", tf.__version__) | |
print("[INFO] DLIB: ", dlib.__version__) |