mirror of https://github.com/davisking/dlib.git
Oops, put import statements after path adjustment
This commit is contained in:
parent
7fcb6c285d
commit
7fe355e0ec
|
@ -1,6 +1,5 @@
|
||||||
from _dlib_pybind11 import *
|
# Copyright (C) 2020 Davis E. King (davis@dlib.net)
|
||||||
from _dlib_pybind11 import __version__, __time_compiled__
|
# License: Boost Software License See LICENSE.txt for the full license.
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import os
|
import os
|
||||||
|
@ -9,3 +8,6 @@ try:
|
||||||
os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin'))
|
os.add_dll_directory(os.path.join(os.environ['CUDA_PATH'], 'bin'))
|
||||||
except (AttributeError,KeyError):
|
except (AttributeError,KeyError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
from _dlib_pybind11 import *
|
||||||
|
from _dlib_pybind11 import __version__, __time_compiled__
|
||||||
|
|
Loading…
Reference in New Issue