Skip to content

Instantly share code, notes, and snippets.

View ontheklaud's full-sized avatar
😪

Seungkyun Hong ontheklaud

😪
View GitHub Profile
@ontheklaud
ontheklaud / get-caffe-deps-thru-yum.sh
Last active August 22, 2018 13:27
Caffe bootstrap script for CentOS 7/Anaconda3 Python
#!/bin/bash
# Enable EPEL-Release
sudo yum -y install epel-release
# CMAKE, Boost
sudo yum -y install cmake boost boost-devel
# OpenCV, Snappy, Protobuf
sudo yum -y install opencv opencv-devel snappy snappy-devel protobuf protobuf-devel
@ontheklaud
ontheklaud / Makefile_caffe_anaconda_python_only.config
Last active August 24, 2018 01:38
Makefile of Intel Caffe for Anaconda3 Python Env
#
# All modification made by Intel Corporation: © 2016 Intel Corporation
#
# All contributions by the University of California:
# Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
# All rights reserved.
#
# All other contributions:
# Copyright (c) 2014, 2015, the respective contributors
# All rights reserved.
@ontheklaud
ontheklaud / build-intel-caffe-anaconda-python-only.sh
Last active August 22, 2018 12:43
build intel caffe with latest anaconda3 on CentOS 7 (system-wide anaconda python)
#!/bin/bash
# I installed anaconda3 in /opt/anaconda3, which is a system-wide accessable
# make directory of 'build' from root of caffe source
mkdir build
cd build
# source Intel Parallel Studio (currently r2018u3)
source /opt/intel/parallel_studio_xe_2018/bin/psxevars.sh;
@ontheklaud
ontheklaud / horovod install.txt
Last active November 23, 2019 13:27
Horovod Installation Guide for Distributed Computing Platform
#
# Horovod Installation Guide
#
0a. Requirement
- CentOS 7.x (tested on 7.1, 7.3, 7.4)
- Python 3.6.x (source build, refer https://www.python.org/downloads/release/python-366/)
- GPU (not a prerequisit, but encouraged)
- all workers must share same installation process
- DO NOT UPDATE ANY KERNEL PACKAGES (USE WITH STOCK KERNEL PROVIDED BY CENTOS)
@ontheklaud
ontheklaud / tf_localizer.py
Last active August 14, 2018 00:58
TensorFlow Dependencies Repository Fetcher for Offline Build
import os
import sys
import re
import pprint
import hashlib
import time
import urllib.request as urlreq
verbose_debug = True