Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
dfc4f972
Commit
dfc4f972
authored
Jun 30, 2019
by
Alexander Pivovarov
Committed by
Tianqi Chen
Jun 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tflite wheel version to 1.13.1 (#3435)
parent
e6da0f0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
docker/install/ubuntu_install_tflite.sh
+1
-1
tutorials/frontend/from_tflite.py
+9
-8
No files found.
docker/install/ubuntu_install_tflite.sh
View file @
dfc4f972
...
@@ -43,7 +43,7 @@ import setuptools
...
@@ -43,7 +43,7 @@ import setuptools
setuptools.setup(
setuptools.setup(
name="tflite",
name="tflite",
version="
0.0
.1",
version="
1.13
.1",
author="google",
author="google",
author_email="google@google.com",
author_email="google@google.com",
description="TFLite",
description="TFLite",
...
...
tutorials/frontend/from_tflite.py
View file @
dfc4f972
...
@@ -29,20 +29,21 @@ A quick solution is to install Flatbuffers via pip
...
@@ -29,20 +29,21 @@ A quick solution is to install Flatbuffers via pip
pip install flatbuffers --user
pip install flatbuffers --user
To install TFlite packages, you could use our prebuilt wheel:
To install TFlite packages, you could use our prebuilt wheel:
.. code-block:: bash
.. code-block:: bash
# For python3:
# For python3:
wget https://
raw.githubusercontent.com/dmlc/web-data/master/tensorflow/tflite/whl/tflite-0.0
.1-py3-none-any.whl
wget https://
github.com/FrozenGene/tflite/releases/download/v1.13.1/tflite-1.13
.1-py3-none-any.whl
pip
install tflite-0.0
.1-py3-none-any.whl --user
pip
3 install -U tflite-1.13
.1-py3-none-any.whl --user
# For python2:
# For python2:
wget https://
raw.githubusercontent.com/dmlc/web-data/master/tensorflow/tflite/whl/tflite-0.0
.1-py2-none-any.whl
wget https://
github.com/FrozenGene/tflite/releases/download/v1.13.1/tflite-1.13
.1-py2-none-any.whl
pip install
tflite-0.0
.1-py2-none-any.whl --user
pip install
-U tflite-1.13
.1-py2-none-any.whl --user
or you could generate TFLite package
by yourself. The steps are as
following:
or you could generate TFLite package
yourself. The steps are the
following:
.. code-block:: bash
.. code-block:: bash
...
@@ -57,13 +58,13 @@ or you could generate TFLite package by yourself. The steps are as following:
...
@@ -57,13 +58,13 @@ or you could generate TFLite package by yourself. The steps are as following:
# Generate TFLite package.
# Generate TFLite package.
flatc --python schema.fbs
flatc --python schema.fbs
# Add
it
to PYTHONPATH.
# Add
current folder (which contains generated tflite module)
to PYTHONPATH.
export PYTHONPATH=
/path/to/tflite
export PYTHONPATH=
${PYTHONPATH:+$PYTHONPATH:}$(pwd)
Now please check if TFLite package is installed successfully, ``python -c "import tflite"``
Now please check if TFLite package is installed successfully, ``python -c "import tflite"``
Below you can find an example
for
how to compile TFLite model using TVM.
Below you can find an example
on
how to compile TFLite model using TVM.
"""
"""
######################################################################
######################################################################
# Utils for downloading and extracting zip files
# Utils for downloading and extracting zip files
...
...
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