Skip to content

Instantly share code, notes, and snippets.

View luke-han's full-sized avatar

SeongUk Han luke-han

  • Open Research Inc.
  • Gyeonggi-do, South Korea
View GitHub Profile
@luke-han
luke-han / setup-ubuntu18.04-deeplearning-env.sh
Last active April 19, 2021 19:05
snippets for setup machines
#!/usr/bin/env bash
# update and install latest packages
sudo apt update --fix-missing && sudo apt upgrade -y --fix-missing
# install lambda stack (nvidia driver, cuda, cudnn)
# https://lambdalabs.com/lambda-stack-deep-learning-software
LAMBDA_REPO=$(mktemp) && \
wget -O${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb && \
sudo dpkg -i ${LAMBDA_REPO} && rm -f ${LAMBDA_REPO} && \
@luke-han
luke-han / install_opencv_3.3.sh
Last active March 26, 2023 10:02
install OpenCV 3.3 in ubuntu 18.04
#!/usr/bin/env bash
sudo apt purge -y libopencv* python-opencv
sudo apt autoremove -y
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y build-essential cmake pkg-config git
sudo apt install -y libjpeg-dev libtiff5-dev libpng-dev
@luke-han
luke-han / install_opencv_4.sh
Created December 7, 2019 01:38
install OpenCV 4 in ubuntu 18.04
#!/usr/bin/env bash
sudo apt purge -y libopencv* python-opencv
sudo apt autoremove -y
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y build-essential cmake pkg-config git
sudo apt install -y libjpeg-dev libtiff5-dev libpng-dev