Largely based on the Tensorflow 1.6 gist, and Tensorflow 1.7 gist for xcode, this should hopefully simplify things a bit.
- NVIDIA Web-Drivers 387.10.10.10.30.103 for 10.13.4
- CUDA-Drivers 387.178
- CUDA 9.1 Toolkit
Largely based on the Tensorflow 1.6 gist, and Tensorflow 1.7 gist for xcode, this should hopefully simplify things a bit.
Largely based on the Tensorflow 1.6 gist, this should hopefully simplify things a bit. Mixing homebrew python2/python3 with pip ends up being a mess, so here's an approach to uses the built-in python27.
import sys | |
import numpy as np | |
import networkx as nx | |
import matplotlib.pyplot as plt | |
def plot(data,filename,degreetype): | |
""" Plot Distribution """ | |
plt.plot(range(len(data)),data,'bo') | |
plt.yscale('log') | |
plt.xscale('log') |