Skip to content

abaybektursun/tf_tutorial

Repository files navigation

Tensorflow Tutorial

Example with Face Embeddings

Setting up an environment

Clone this repo and cd into it.

git clone https://github.com/abaybektursun/tf_tutorial
cd tf_tutorial

Make sure that you have virutalenv

pip3 install virtualenv

Now we will create a virtualenv. Follow the steps for your operating system

Linux

virtualenv --system-site-packages -p python3 ./venv
source ./venv/bin/activate
pip3 install --upgrade pip

Windows

virtualenv --system-site-packages -p python3 ./venv
.\venv\Scripts\activate

Installing Tensorflow and the other dependencies

If you have an NVIDIA card and want it to be utilized by TF, you can follow the instructions for GPU. Otherwise follow the CPU instructions.

CPU

pip3 install -r requirements_cpu.txt

GPU

pip3 install -r requirements_gpu.txt

In addition, you will have to have CUDA 9.0 and cuDNN installed.

Jupyter Notebook

Install new kernel for the jupyter notebook

ipython kernel install --user --name=tf_tutorial

Star the jupyter notebook

jupyter notebook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published