Thursday, August 17, 2017
Installing Tensorflow on Ubuntu (Anaconda 3.5)
Here is the install log
======================================
276 sudo chmod a+x Anaconda3-4.4.0-Linux-x86_64.sh
277 ./Anaconda3-4.4.0-Linux-x86_64.sh
278 conda create -n tensorflow
279 conda
280 conda create -n tensorflow
281 cd
282 cd ml
283 vim tensorflow_readme.txt
284 source activate tensorflow
285 pyhton
286 pyhton3
287 pypython3
288 conda
289 conda -V
290 conda --version
291 python
292 pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
293 sudo apt install python3-pip
294 spyder &
295 python tensor_hello.py
296*
297 python
298 pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
299 python tensor_hello.py
300 python mnist_softmax.py
301 ls
302 cd tf_files/
303 ls
304 cd flower_photos/
305 ls
306 du
307 du .
308 ls
309 cd ..
310 ls
311 curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/r1.1/tensorflow/examples/image_retraining/retrain.py
312 ls
313 python retrain.py --bottleneck_dir=bottlenecks --how_many_training_steps=500 --model_dir=inception --summaries_dir=training_summaries/basic --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --image_dir=flower_photos
314 curl -L https://goo.gl/3lTKZs > label_image.py
315 python label_image.py flower_photos/daisy/21652746_cc379e0eea_m.jpg
316 ls
317 chmod a+x grab_image.sh
318 ls
319 mkdir food_photos
320 cd food_photos/
======================================
End of Log
Next Step:
Install Firefox Add on: Save Images by Lumox to allow batch image download from google images page
======================================
276 sudo chmod a+x Anaconda3-4.4.0-Linux-x86_64.sh
277 ./Anaconda3-4.4.0-Linux-x86_64.sh
278 conda create -n tensorflow
279 conda
280 conda create -n tensorflow
281 cd
282 cd ml
283 vim tensorflow_readme.txt
284 source activate tensorflow
285 pyhton
286 pyhton3
287 pypython3
288 conda
289 conda -V
290 conda --version
291 python
292 pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
293 sudo apt install python3-pip
294 spyder &
295 python tensor_hello.py
296*
297 python
298 pip install --ignore-installed --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.3.0-cp36-cp36m-linux_x86_64.whl
299 python tensor_hello.py
300 python mnist_softmax.py
301 ls
302 cd tf_files/
303 ls
304 cd flower_photos/
305 ls
306 du
307 du .
308 ls
309 cd ..
310 ls
311 curl -O https://raw.githubusercontent.com/tensorflow/tensorflow/r1.1/tensorflow/examples/image_retraining/retrain.py
312 ls
313 python retrain.py --bottleneck_dir=bottlenecks --how_many_training_steps=500 --model_dir=inception --summaries_dir=training_summaries/basic --output_graph=retrained_graph.pb --output_labels=retrained_labels.txt --image_dir=flower_photos
314 curl -L https://goo.gl/3lTKZs > label_image.py
315 python label_image.py flower_photos/daisy/21652746_cc379e0eea_m.jpg
316 ls
317 chmod a+x grab_image.sh
318 ls
319 mkdir food_photos
320 cd food_photos/
======================================
End of Log
Next Step:
Install Firefox Add on: Save Images by Lumox to allow batch image download from google images page
Tensorflow: Use pip behind proxy
If you planning to run tensor flow behind proxy.
(tensorflow) c:\temp\ml>pip install --ignore-installed --proxy https://proxy.company.com:port --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp35-cp35m-win_amd64.whl
Collecting tensorflow==1.3.0 from https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp35-cp35m-win_amd64.whl
(tensorflow) c:\temp\ml>pip install --ignore-installed --proxy https://proxy.company.com:port --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp35-cp35m-win_amd64.whl
Collecting tensorflow==1.3.0 from https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-1.3.0-cp35-cp35m-win_amd64.whl
Subscribe to Posts [Atom]