Skip to content

Instantly share code, notes, and snippets.

version: '3'
services:
master:
build:
context: .
dockerfile: ./master.Dockerfile
working_dir: /root/playbooks
volumes:
- /c/repos/ansible/playbooks:/root/playbooks
- /c/repos/ansible/config:/etc/ansible
@AmadouDiallo4
AmadouDiallo4 / pytorch_jetson_install.sh
Created March 4, 2020 11:02 — forked from dusty-nv/pytorch_jetson_install.sh
Install procedure for pyTorch on NVIDIA Jetson TX1/TX2 with JetPack <= 3.2.1. For JetPack 4.2 and Xavier/Nano/TX2, see https://devtalk.nvidia.com/default/topic/1049071/jetson-nano/pytorch-for-jetson-nano/
#!/bin/bash
#
# UPDATE: see here for pre-built PyTorch 1.0/1.1 pip wheels
# for JetPack 4.2 and Jetson Nano/TX2/Xavier:
#
# https://devtalk.nvidia.com/default/topic/1049071/jetson-nano/pytorch-for-jetson-nano/
#
# pyTorch install script for NVIDIA Jetson TX1/TX2,
# from a fresh flashing of JetPack 2.3.1 / JetPack 3.0 / JetPack 3.1
#
@AmadouDiallo4
AmadouDiallo4 / Dockerfile
Created March 2, 2020 16:42 — forked from jackersson/Dockerfile
Gstreamer-1.0-Ubuntu-18-Docker-Installation
FROM ubuntu:18.04
USER root
RUN apt-get update && apt-get -y --no-install-recommends install \
sudo \
vim \
wget \
build-essential \
pkg-config
@AmadouDiallo4
AmadouDiallo4 / Dockerfile
Created February 22, 2020 17:57 — forked from davclark/Dockerfile
A simple Dockerfile for openpose
# The following image was genarated from the deepo project:
# https://github.com/ufoym/deepo
# Running from the generator directory:
# python generate.py --cuda-ver=9.2 --cudnn-ver=7 Dockerfile \
# caffe jupyter opencv python==3.6
FROM glassbeadlabs/deepo:caffe-py36-cu92-dnn7
# Install openpose
# This snippet was adapted from the following fork
@AmadouDiallo4
AmadouDiallo4 / txdocker
Created February 13, 2020 17:08 — forked from JasonAtNvidia/txdocker
Short Bash script to enable use of the GPU within a docker container running on an NVIDIA Jetson TX2. Place inside /usr/local/bin/, chmod +x txdocker, ensure it is in your system PATH, and use just as you would the docker command.
#!/bin/bash
#Jason T. 2-6-2018
# Check specifically for the run command
if [[ $# -ge 2 && $1 == "run" ]]; then
# Tell docker to share the following folders with the base system
# This allows the docker containers to find CUDA, cuDNN, TensorRT
LIB_MAPS="/usr/lib/aarch64-linux-gnu \
/usr/local/cuda \
/usr/local/cuda/lib64"
@AmadouDiallo4
AmadouDiallo4 / tegra-cam.py
Created January 24, 2020 13:20 — forked from jkjung-avt/tegra-cam.py
Capture and display video from either IP CAM, USB webcam, or the Tegra X2/X1 onboard camera.
# --------------------------------------------------------
# Camera sample code for Tegra X2/X1
#
# This program could capture and display video from
# IP CAM, USB webcam, or the Tegra onboard camera.
# Refer to the following blog post for how to set up
# and run the code:
# https://jkjung-avt.github.io/tx2-camera-with-python/
#
# Written by JK Jung <[email protected]>