This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# gpu_stat.py [DELAY [COUNT]] | |
# dump gpu stats as a json and plot in file | |
# {"cpu":5.9,"gpu":{"used_mem":7959,"util":{"graphics":91,"memory":56,"video":0,"PCIe":2}},"time":1505480296.0436406} | |
import sys | |
import time | |
import json | |
from pathlib import Path | |
# import socket |