MENU

TensorFlow: Some Common Problems and Fixes

In this page we'll list some common issues when building tensorflow or the examples, and how to fix them. They are also identified by a code that our training script uses to identify sections more easily.

Inception Download (Code=inc_download)

The Inception files can in some cases fail to download. Common causes are corporate firewalls, network errors, and so forth. If this step fails repeatedly you can download the file directly using a web browser from

https://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip

and place it in the correct directory.

Inception Extraction (Code=inc_expand)

The extraction can fail if the directory specified already exists, or if permissions are incorrect. Deleting the directory (or renaming it) should fix this problem.

Custom Dataset Download (Code=custom_data_download)

Common causes are corporate firewalls, network errors, and so forth. If this step fails repeatedly you can download the file directly using a web browser from

http://localhost:5000/a16zset.zip

and place it in the correct directory.

Inception Extraction (Code=custom_data_expand)

The extraction can fail if the directory specified already exists, or if permissions are incorrect. Deleting the directory (or renaming it) should fix this problem.

Retraining (Build) (Code=build_retrain)

TBA

Retraining (Run) (Code=run_retrain)

TBA

Optimizer (Build) (Code=build_optimizer)

TBA

Optimizer (Run) (Code=run_optimizer)

TBA

Quantize (Build) (Code=build_quantizer)

TBA

Quantize (Run) (Code=build_quantizer)

TBA

Memmapping (Build) (Code=build_memmapping)

TBA

Memmapping (Run) (Code=run_memmapping)

TBA

Homebrew & Bazel(Code=brew_bazel)

Xcode version issues

If you attempt to run brew commands with an older version of Xcode, you'll get a message like

$ brew upgrade
Error: Your Xcode (7.3.1) is too outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.

Therefore when running Homebrew commands you will need to use Xcode 8.2.

When running homebrew commands you might see the following error

Homebrew link issue

$ brew install automake
Warning: automake-1.15 already installed, its just not linked.

Typically this can be fixed by running

diego@polaris:~/tensorflow$ chmod 755 /usr/local/lib/pkgconfig

and then verifying everything now works as expected

diego@polaris:~/tensorflow$ brew link automake
Linking /usr/local/Cellar/automake/1.15... 113 symlinks created