Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeyu-li/tensorflow_installation_guide
A guide to installing TensorFlow 2 :robot:
https://github.com/zeyu-li/tensorflow_installation_guide
tensorflow tensorflow-setup tensorflow-tutorial
Last synced: 6 days ago
JSON representation
A guide to installing TensorFlow 2 :robot:
- Host: GitHub
- URL: https://github.com/zeyu-li/tensorflow_installation_guide
- Owner: Zeyu-Li
- Created: 2020-01-12T22:12:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T22:12:13.000Z (almost 5 years ago)
- Last Synced: 2024-11-03T07:24:42.473Z (about 2 months ago)
- Topics: tensorflow, tensorflow-setup, tensorflow-tutorial
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Guide to Install TensorFlow
This is a installation guide for Windows (tested only on Windows 10) using pip
1. Get Python 3.4-3.7 **64-bit** only
2. Add to PATH
3. Get pip (comes with Python installation)
4. (Optional)
```shell
pip install virtualenv
```
5. ```shell
pip install --upgrade tensorflow
```6. Test with
```shell
python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"
```If you get a lot of not located warnings but get
```python
tf.Tensor(-1565.4648, shape=(), dtype=float32)
```Then it is a success
7. (Optional speedup for Nvidia Graphics cards GT 430 or GTX 465 or 410M or higher;
See full list @ [link](https://developer.nvidia.com/cuda-gpus))
- The latest [NVIDIA® GPU drivers](https://www.nvidia.com/drivers)
- The [CUDA® Toolkit](https://developer.nvidia.com/cuda-toolkit-archive)
- The [cuDNN SDK](https://developer.nvidia.com/cudnn) (Requires a Nvidia Account)
- Add to PATH the following (**Note**, must be v10.1 as of 1/12/20, otherwise check the documentation in the link [here](https://www.tensorflow.org/install/gpu#windows_setup))
- C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin
- C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\extras\CUPTI\libx64
- C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\include
- Where ever you unziped the cuDNN SDK's **bin directory**. i.e.
C:\tools\cuda\bin
8. Repeat step 6 but you should see a bunch of successes and
```python
tf.Tensor(-1565.4648, shape=(), dtype=float32)
```## Issues
Post an Issue to the Issues tab in GitHub
## Other Guides
- unspecific documentation: [TensorFlow](https://www.tensorflow.org/install/pip?lang=python3)