Skip to main content

Posts

Showing posts from November 23, 2019

Start using TensorFlow for image classifier

We have set up TensorFlow environment and successfully compile on our PC. Now let us start using the tensorflow for classifying the image. 1. Open the PC command prompt. 2. key in " git clone https://github.com/tensorflow/models.git " to start to clone TensorFlow Models into your PC. 3. Now access the model's path by key-in " cd models/tutorials/image/imagenet ", then try run the modules script by key in " python classify_image.py " 4. you will get the output below if the script compile is a success. But.... if output this, then follow step5- step7 to fix it before proceeding. Step 5: This error is caused by Tensorflow version installed on your PC not yet support for the module. So key in " pip uninstall tensorflow " to uninstall tensorflow from your system. For example, my PC installed tensorflow 2.00, then i need to downgrade to others version of tensorflow.  You can refer to official site < Topic: tested build configurat