mirror of https://github.com/davisking/dlib.git
parent
53b6ea3bf5
commit
7fcb6c285d
@ -0,0 +1,11 @@
|
||||
from _dlib_pybind11 import *
|
||||
from _dlib_pybind11 import __version__, __time_compiled__
|
||||
|
||||
|
||||
try:
|
||||
import os
|
||||
# On windows you must call os.add_dll_directory() to allow linking to external DLLs. See
|
||||
# https://docs.python.org/3.8/whatsnew/3.8.html#bpo-36085-whatsnew.
|
||||
os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin'))
|
||||
except (AttributeError,KeyError):
|
||||
pass
|
Loading…
Reference in new issue