Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
7fe355e0
Commit
7fe355e0
authored
Jun 07, 2020
by
Davis King
Browse files
Oops, put import statements after path adjustment
parent
7fcb6c28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
tools/python/dlib/__init__.py
tools/python/dlib/__init__.py
+5
-3
No files found.
tools/python/dlib/__init__.py
View file @
7fe355e0
from
_dlib_pybind11
import
*
from
_dlib_pybind11
import
__version__
,
__time_compiled__
# Copyright (C) 2020 Davis E. King (davis@dlib.net)
# License: Boost Software License See LICENSE.txt for the full license.
try
:
import
os
...
...
@@ -9,3 +8,6 @@ try:
os
.
add_dll_directory
(
os
.
path
.
join
(
os
.
environ
[
'CUDA_PATH'
],
'bin'
))
except
(
AttributeError
,
KeyError
):
pass
from
_dlib_pybind11
import
*
from
_dlib_pybind11
import
__version__
,
__time_compiled__
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment