Skip to content

Commit 1740e6f

Browse files
committed
Release v1.0
1 parent b366910 commit 1740e6f

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

dlclive/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def save_inf_times(
493493
np.std(inf_times, 1) * 1.0 / np.sqrt(np.shape(inf_times)[1]),
494494
)
495495

496-
#for stat in stats:
496+
# for stat in stats:
497497
# print("Stats:", stat)
498498

499499
data = {

dlclive/graph.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@
77

88

99
import tensorflow as tf
10-
vers = (tf.__version__).split('.')
11-
if int(vers[0])==2 or int(vers[0])==1 and int(vers[1])>12:
12-
tf=tf.compat.v1
10+
11+
vers = (tf.__version__).split(".")
12+
if int(vers[0]) == 2 or int(vers[0]) == 1 and int(vers[1]) > 12:
13+
tf = tf.compat.v1
1314
else:
14-
tf=tf
15+
tf = tf
1516

1617

1718
def read_graph(file):

dlclive/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"""
88

99

10-
__version__ = "0.0.3"
10+
__version__ = "1.0"
1111
VERSION = __version__

reinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pip uninstall deeplabcut-live
22
python3 setup.py sdist bdist_wheel
3-
pip install dist/deeplabcut_live-0.0.3-py3-none-any.whl
3+
pip install dist/deeplabcut_live-1.0-py3-none-any.whl

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
setuptools.setup(
3939
name="deeplabcut-live",
40-
version="0.0.3",
40+
version="1.0",
4141
author="A. & M. Mathis Labs",
4242
author_email="[email protected]",
4343
description="Class to load exported DeepLabCut networks and perform pose estimation on single frames (from a camera feed)",
@@ -51,7 +51,7 @@
5151
include_package_data=True,
5252
classifiers=(
5353
"Programming Language :: Python :: 3",
54-
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
54+
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
5555
"Operating System :: OS Independent",
5656
),
5757
entry_points={

0 commit comments

Comments
 (0)