0

Tutorial: Running TensorFlow Lite Object Recognition on the
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Tutorial: Running TensorFlow Lite Object Recognition on the

by geekguy on Thu Nov 07, 2019 5:37 pm

Hi,

I am working through the Running TensorFlow Lite Object Recognition on the Raspberry Pi 4 tutorial and have found a place where things do not work. In the Install TensorFlow 2.0 section, the URL that is used in wget (https://github.com/PINTO0309/Tensorflow-bin/raw/master/tensorflow-2.0.0rc0-cp37-cp37m-linux_armv7l.whl) gets me a 404 not found error. In fact, most of the URLs in the Tensorflow-bin directory of that user do not work.

Can an alternative source of these files be found? It looks like they have progressed to the released file state now.

8-Dale

geekguy
 
Posts: 249
Joined: Tue Sep 10, 2013 2:43 pm
Location: Beaverton, OR

Re: Tutorial: Running TensorFlow Lite Object Recognition on

by mikeysklar on Thu Nov 07, 2019 9:42 pm

Hello 8-Dale,

It looks like the TensorFlow archive had some files shuffled about this week. I think they dropped the rc0 (release candidate prefix). Here are some relevant links to try. Please let me know if this work:

High level overview of files:

https://github.com/PINTO0309/Tensorflow-bin

60MB RAW file link to the file you were looking for cp37m armv7l:
https://github.com/PINTO0309/Tensorflow ... l?raw=true

mikeysklar
 
Posts: 346
Joined: Mon Aug 01, 2016 8:10 pm

Re: Tutorial: Running TensorFlow Lite Object Recognition on

by geekguy on Sun Nov 10, 2019 3:13 am

Hi,
mikeysklar wrote:Hello 8-Dale,

It looks like the TensorFlow archive had some files shuffled about this week. I think they dropped the rc0 (release candidate prefix). Here are some relevant links to try. Please let me know if this work:

High level overview of files:

https://github.com/PINTO0309/Tensorflow-bin

60MB RAW file link to the file you were looking for cp37m armv7l:
https://github.com/PINTO0309/Tensorflow ... l?raw=true

I have not tried your method, but here is what I had to do to get the right file to install:

Code: Select all | TOGGLE FULL SIZE
1) Clone the repository git@github.com:tensorflow/tensorflow.git
2) Go to the second page of the [url=https://learn.adafruit.com/running-tensorflow-lite-on-the-raspberry-pi-4/initial-setup]Running TensorFlow Lite Object Recognition on the Raspberry Pi 4[/url] tutorial, and do everything there. NOTE: You do NOT have to install the PiTFT Drivers if you do not have a PiTFT installed, because everything will run [b][i]fine[/i][/b] with an HDMI monitor.
3) On the third page of the tutorial, do everything down to, but [b]NOT[/b] including, the Install TensorFlow 2.0 section.
4)Go to https://github.com/PINTO0309/Tensorflow-bin/tensorflow-2.0.0-cp37-cp37m-linux_armv7l.whl in your browser
5) Click the Download button
6) cd to your copy of the tensorflow repository
7) pip3 install <path to the tensorflow-2.0.0-cp37-cp37m-linux_armv7l.whl file>/tensorflow-2.0.0-cp37-cp37m-linux_armv7l.whl
8) pip3 install -e .
9) Follow the rest of the tutorial as it is

8-Dale

geekguy
 
Posts: 249
Joined: Tue Sep 10, 2013 2:43 pm
Location: Beaverton, OR

Please be positive and constructive with your questions and comments.