TFLite fails to build in the Docker container
See original GitHub issueHi, I am trying to run your demo on my Mac and when I run yarn build:tflite:all
and bazel tries to build tflite, it fails with this error :
$ docker exec -w /tflite_src tflite bazel build --config=wasm -c opt :tflite
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
ERROR: error loading package '': cannot load '@org_tensorflow//tensorflow:workspace.bzl': no such file
INFO: Elapsed time: 4.869s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I would guess I have to change something in the /tflite_src/WORKSPACE
file but I don’t know how bazel works yet. I will try to fix the issue and will comment again if I find how to get rid of the error.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Unable to selectively build TensorFlow Lite with Docker #46514
Built and ran the tflite-docker container following instructions from here. First downloaded dockerfile from this place and then ran.
Read more >Error in reducing Tensorflow lite binary size
I have setup docker using the guide here ( Build TensorFlow Lite for Android) and I have no problem building fat binaries only...
Read more >TensorFlow Docker Images
Official Docker images for the machine learning framework TensorFlow (http://www.tensorflow.org)
Read more >Docker container with Python modules gets too big
The builder image can be as big as it needs to be to build and the target image as small as possible and...
Read more >How to Train New TensorFlow Lite Micro Speech ... - Digikey
This technique does not work yet! Go thru the process to create/fork the official Tensorflow Docker image. After running apt-get install -y curl...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I deleted the container and replaced the following line in Dockerfile
with
which is the 2.4.1 tag of Tensorflow and it built successfully 😃
3d1593d should fix the issue.
Let me know if you still have troubles to build TFLite (if you decide to switch back to tensorflow master 😉).