Skip to content

Instantly share code, notes, and snippets.

View ghicheon's full-sized avatar
👕

ghicheon

👕
View GitHub Profile
@ghicheon
ghicheon / bag_to_images.py
Created August 21, 2019 05:43 — forked from wngreene/bag_to_images.py
Extract images from a rosbag.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Massachusetts Institute of Technology
"""Extract images from a rosbag.
"""
import os
import argparse
@ghicheon
ghicheon / gcloud-gpu-setup.sh
Created October 23, 2017 04:59 — forked from neilpanchal/gcloud-gpu-setup.sh
Google Cloud GPU Setup: Instructions & bash-script
#!/bin/bash
cd ~/
### CUDA
echo "\n\nChecking for CUDA and installing."
if ! dpkg-query -W cuda; then
curl -O http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo dpkg -i ./cuda-repo-ubuntu1604_8.0.61-1_amd64.deb
sudo apt-get update
sudo apt-get install cuda -y