Skip to content

Instantly share code, notes, and snippets.

@nextkitt
nextkitt / Install tensorflow on OS X with GPU enabled.md
Created June 5, 2019 03:39 — forked from myh1000/Install tensorflow on OS X with GPU enabled.md
How to enable cuda support for tensor flow on Mac OS X (Tensorflow 0.9 on OS X 10.10)

Instructions based off of Mistobaan's gist.

These instructions are what I did to install tensorflow on my machine after a segmentation error occured while trying to import tensorflow in python took me 2 days to fix.

Prerequisites

Update brew and install latest packages.

brew update
brew install coreutils swig bazel
@nextkitt
nextkitt / build-tensorflow-from-source.md
Created June 5, 2019 03:39 — forked from Brainiarc7/build-tensorflow-from-source.md
Build Tensorflow from source, for better performance on Ubuntu.

Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:

TensorFlow is now distributed under an Apache v2 open source license on GitHub.

On Ubuntu 16.04LTS+:

Step 1. Install NVIDIA CUDA:

To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:

@nextkitt
nextkitt / build-tensorflow-from-source.md
Created June 5, 2019 03:39 — forked from Brainiarc7/build-tensorflow-from-source.md
Build Tensorflow from source, for better performance on Ubuntu.

Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:

TensorFlow is now distributed under an Apache v2 open source license on GitHub.

On Ubuntu 16.04LTS+:

Step 1. Install NVIDIA CUDA:

To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:

@nextkitt
nextkitt / INSTALL.md
Created February 15, 2019 11:38 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@nextkitt
nextkitt / INSTALL.md
Created February 15, 2019 11:38 — forked from arya-oss/INSTALL.md
Ubuntu 16.04 Developer Tools installation

Ubuntu 16.04 Developer Tools Installation

First things first !

sudo apt update
sudo apt upgrade

Standard Developer Tools

sudo apt-get install build-essential git
@nextkitt
nextkitt / list_directory.go
Created February 13, 2019 07:43 — forked from manigandand/list_directory.go
List files in a directory using golang
package main
import (
"fmt"
"io/ioutil"
"log"
"os"
"path/filepath"
)
@nextkitt
nextkitt / go-os-arch.md
Created October 25, 2018 09:50 — forked from asukakenji/0-go-os-arch.md
Go (Golang) GOOS and GOARCH

Go (Golang) GOOS and GOARCH

All of the following information is based on go version go1.8.3 darwin/amd64.

A list of valid GOOS values

(Bold = supported by go out of the box, ie. without the help of a C compiler, etc.)

  • android
  • darwin