Skip to content

Instantly share code, notes, and snippets.

💭
"...you never understand things. You just get used to them" -- Von Neumann

pratesh kumar reddy rpratesh

💭
"...you never understand things. You just get used to them" -- Von Neumann
View GitHub Profile
View DeepSpeech Notes
lm.binary was generated from the LibriSpeech normalized LM training text, available {http://www.openslr.org/11}}, following this recipe (Jupyter notebook code):
import gzip
import io
import os
from urllib import request
@rpratesh
rpratesh / nv_caffe_tx1.md
Last active Mar 1, 2018
Install NV_Caffe in NVIDIA Jetson TX1
View nv_caffe_tx1.md

Install the pre-prequisites: sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository multiverse

sudo apt-get install libboost-dev libboost-all-dev
sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev libatlas-base-dev liblmdb-dev libblas-dev libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler

For now only NV_caffe-0.15 is working with TX1 with JetPack 3.1 (which had TensorRT2.1)

@rpratesh
rpratesh / remove_dangling_images.md
Last active Feb 28, 2018
To remove dangling Docker containers and images
View remove_dangling_images.md

This worked for me on Ubuntu 16.04 with Docker version 17.12.0-ce

Before deleting all the containers, force stop them:
$ docker ps -q -a | xargs docker stop

Then delete the containers using:
$ docker ps -q -a | xargs docker rm

Now delete all the dangling images using:
$ docker rmi $(docker images | grep “^<none>” | awk ‘{print $3}’)

You can’t perform that action at this time.