Skip to content

Instantly share code, notes, and snippets.

View albertaparicio's full-sized avatar

Albert Aparicio Isarn albertaparicio

View GitHub Profile
@lanzani
lanzani / test_gpu_compatibility.py
Last active August 4, 2022 23:16
Check CUDA compatibility with TensorFlow & DLIB.
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__)