NGC | Catalog
CatalogResourcesTLT Face Mask Demo

TLT Face Mask Demo

Logo for TLT Face Mask Demo
Description
A notebook example for Face Mask Detection with TLT as part of the NGC GTC Fall 2020 Demo
Publisher
NVIDIA
Latest Version
1.0.0
Modified
February 27, 2024
Compressed Size
455.75 KB

TLT Face Mask Detection - NGC Collections Demo

Introduction

This notebook, in conjunction with the TLT Collection was used as part of the NGC GTC Fall 2020 content.

Feel free to follow the steps in this overivew and the accompanying notebook, to replicate our demo for yourself. Extra points are available for anyone who follows these instructions but modifies it for their own use case.

You can let us know what you build by tweeting @nvidiaai and showing off your work!

If you missed the session and live Q&A - don't worry! You can watch it all on demand here and you can get in touch with the presenters here.

Step-By-Step Guide

Ok - so how do you get this example up and running? Well, thanks to the power of NGC, deploying this demo couldn't be easier. We've taken care of most of the heavy lifting and the NGC Catalog and Private Registry are geared towards simplifying the workflow. Follow these steps to get the notebook running:

Step 1

Fetch the TLT container from NGC:

docker pull nvcr.io/nvidia/tlt-streamanalytics:v2.0_py3

Step 2

Log in to the TLT container:

docker run --gpus all -it -v "/path/to/dir/on/host":"/path/to/dir/in/docker" \
-p 80:8888 nvcr.io/nvidia/tlt-streamanalytics:v2.0_py3 /bin/bash

Step 3

Fetch the Jupyter Notebook tutorial:

ngc registry resource download-version "nvidia/gtcfallngcdemo:1.0.0"

Step 4

Start the notebook:

jupyter notebook --ip 0.0.0.0 --port 8888 --allow-root

Step 5

Follow the steps in the notebook to replicate the demo (or tweak to be even more awesome)..

Step 6

Show off your work by tweeting @nvidiaai with the hashtag #NGC

Viewing the Jupyter Notebook in NGC

To take a look at this, or any other, notebook; follow these steps:

  1. Navigate to the File Browser tab of the asset in NGC
  2. Select the version you'd like to see
  3. Under the actions menu (three dots) for the .ipynb file select "View Jupyter"
  4. There you have it! You can read a notebook for documentation and copy code samples without ever leaving NGC.

System Requirements

  1. Nvidia Driver
  2. Docker CE
  3. Nvidia-Docker

Getting Support

Need help with anything on NGC including this notebook? Head over to our online community on the developer forums and ask away. You can get help with everything from our CSP integrations through to submitting feature requests. Take a look at some of our favourite forums below:

  • Hints and Tips - Ask questions about this demo in our general forum..