Skip to content

Commit

Permalink
Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexEMG committed Mar 1, 2021
1 parent b366910 commit 1740e6f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dlclive/benchmark.py
Expand Up @@ -493,7 +493,7 @@ def save_inf_times(
np.std(inf_times, 1) * 1.0 / np.sqrt(np.shape(inf_times)[1]),
)

#for stat in stats:
# for stat in stats:
# print("Stats:", stat)

data = {
Expand Down
9 changes: 5 additions & 4 deletions dlclive/graph.py
Expand Up @@ -7,11 +7,12 @@


import tensorflow as tf
vers = (tf.__version__).split('.')
if int(vers[0])==2 or int(vers[0])==1 and int(vers[1])>12:
tf=tf.compat.v1

vers = (tf.__version__).split(".")
if int(vers[0]) == 2 or int(vers[0]) == 1 and int(vers[1]) > 12:
tf = tf.compat.v1
else:
tf=tf
tf = tf


def read_graph(file):
Expand Down
2 changes: 1 addition & 1 deletion dlclive/version.py
Expand Up @@ -7,5 +7,5 @@
"""


__version__ = "0.0.3"
__version__ = "1.0"
VERSION = __version__
2 changes: 1 addition & 1 deletion reinstall.sh
@@ -1,3 +1,3 @@
pip uninstall deeplabcut-live
python3 setup.py sdist bdist_wheel
pip install dist/deeplabcut_live-0.0.3-py3-none-any.whl
pip install dist/deeplabcut_live-1.0-py3-none-any.whl
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -37,7 +37,7 @@

setuptools.setup(
name="deeplabcut-live",
version="0.0.3",
version="1.0",
author="A. & M. Mathis Labs",
author_email="admin@deeplabcut.org",
description="Class to load exported DeepLabCut networks and perform pose estimation on single frames (from a camera feed)",
Expand All @@ -51,7 +51,7 @@
include_package_data=True,
classifiers=(
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
"Operating System :: OS Independent",
),
entry_points={
Expand Down

0 comments on commit 1740e6f

Please sign in to comment.