Setup - GerardWalsh/golf-classifier GitHub Wiki

GPU

If you want to use the GPU backend for Tensorflow (and subsequently Keras), first install the following:

$ (venv) pip install --upgrade tensorflow-gpu

If the above GPU toolkits did not install successfully, try the instructions at https://www.tensorflow.org/install/gpu. Alternatively, save yourself some time and use a suitable Docker image for the task. Check out this repo.

CPU

Follow the install instructions at https://www.tensorflow.org/install/pip?lang=python3, once again use virtual environments and install with:

$ (venv) pip install --upgrade tensorflow