Skip to content

Instantly share code, notes, and snippets.

View toluwajosh's full-sized avatar

Joshua Owoyemi toluwajosh

View GitHub Profile
@toluwajosh
toluwajosh / tl_experiment.py
Created April 27, 2019 00:17
An attempt to reuse layers and pretrained weights of models from keras applications
"""
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
@toluwajosh
toluwajosh / install_nvidia_ubuntu.md
Last active February 28, 2019 22:53
The easiest way to install nvidia drivers in Ubuntu 16

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"
@toluwajosh
toluwajosh / cuda-ubuntu.md
Created May 16, 2018 07:21 — forked from vbalnt/cuda-ubuntu.md
Installation of CUDA & Tensorflow in Ubuntu 14.04 or 16.04
@toluwajosh
toluwajosh / install.sh
Created June 29, 2016 11:53 — forked from Reddine/install.sh
Install Theano on Ubuntu 14.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