forked from DeepLabCut/DeepLabCut-live
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
42 lines (30 loc) · 1.13 KB
/
__init__.py
File metadata and controls
42 lines (30 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
"""
DeepLabCut Toolbox (deeplabcut.org)
© A. & M. Mathis Labs
Licensed under GNU Lesser General Public License v3.0
"""
# Check which backends are installed and get available backends
# (Emits a warning if neither TensorFlow nor PyTorch is installed)
from dlclive.utils import get_available_backends
_AVAILABLE_BACKENDS = get_available_backends()
from dlclive.display import Display
from dlclive.dlclive import DLCLive
from dlclive.engine import Engine
from dlclive.processor.processor import Processor
from dlclive.version import VERSION, __version__
def benchmark_videos(*args, **kwargs):
"""Lazy import of benchmark_videos from dlclive.benchmark"""
from dlclive.benchmark import benchmark_videos as _benchmark_videos
return _benchmark_videos(*args, **kwargs)
def download_benchmarking_data(*args, **kwargs):
"""Lazy import of benchmark_videos from dlclive.benchmark"""
from dlclive.benchmark import download_benchmarking_data as _download_benchmarking_data
return _download_benchmarking_data(*args, **kwargs)
__all__ = [
"DLCLive",
"Display",
"Processor",
"Engine",
"VERSION",
"__version__",
]