Skip to content

Instantly share code, notes, and snippets.

View achimnol's full-sized avatar

Joongi Kim achimnol

View GitHub Profile
@achimnol
achimnol / test_single_gpu.py
Last active October 31, 2019 12:36 — forked from j-min/test_single_gpu.py
TensorFlow single GPU example
from __future__ import print_function
'''
Basic Multi GPU computation example using TensorFlow library.
Author: Aymeric Damien
Project: https://github.com/aymericdamien/TensorFlow-Examples/
'''
'''
This tutorial requires your machine to have 1 GPU
"/cpu:0": The CPU of your machine.
@achimnol
achimnol / install-tmux.sh
Last active June 2, 2019 06:05 — forked from suhlig/install-tmux
Install tmux on rhel/centos 7
# Install tmux on rhel/centos 7
# install deps
yum install gcc kernel-devel make ncurses-devel
LIBEVENT_VERSION=2.1.8
TMUX_VERSION=2.9
PREFIX="${HOME}/.local/bin" # user-only install (change to /usr/local for global install)
SUDO="" # change to "sudo" to install on /usr/local