To add the drivers repository to Ubuntu, run the commands below:
sudo add-apt-repository ppa:graphics-drivers/ppa
Update and Install Nvidia Drivers
sudo apt update
sudo apt install nvidia-396
""" | |
An attempt to reuse layers and pretrained weights of models from keras applications | |
The background to this attempt is here: https://www.tensorflow.org/tutorials/images/transfer_learning | |
""" | |
from __future__ import absolute_import, division, print_function | |
import os | |
import tensorflow as tf | |
from tensorflow import keras |
To add the drivers repository to Ubuntu, run the commands below:
sudo add-apt-repository ppa:graphics-drivers/ppa
Update and Install Nvidia Drivers
sudo apt update
sudo apt install nvidia-396
#!/usr/bin/python | |
# Futures | |
from __future__ import unicode_literals | |
from __future__ import print_function | |
__author__ = "Joshua Owoyemi" | |
__brief__ = "A description of the script" | |
__copyright__ = "Copyright 2018, Project Name" | |
__credits__ = ["John Doe, Lara Croft"] | |
__license__ = "None" |
This document describes how to install the combination of 14.04 + CUDA 7.5 + Tensorflow. This combination is the easiest to install without anything like compilation from sources etc.
http://releases.ubuntu.com/14.04/ http://releases.ubuntu.com/16.04/
sudo apt-get install build-essential | |
sudo apt-get update | |
# BLAS → LAPACK → ATLAS → numpy → scipy → Theano | |
# remove numpy and scipy | |
sudo apt-get remove python-numpy | |
sudo apt-get remove python-scipy | |
# Instalation commands | |
sudo apt-get install gfortran | |
sudo apt-get install libopenblas-dev | |
sudo apt-get install liblapack-dev |