Migrating to TLT 3.0

TLT v3.0 introduces several new features from v2.0, such as:

  1. Unified command line tool to launch commands

  2. Multiple Docker setup

  3. Conversational AI applications

  4. CV features

    • New training applications

    • New feature extractor backbones

    • New purpose built models

  5. Integration to DeepStream and Riva Inference Platforms

Some of the key differences in the User Interface between v2.0 and v3.0 are shown here.

Version Comparison

TLT v3.0

TLT v2.0

Interface Difference

  • Users run the commands via the TLT launcher Python package

  • Users interact with the commands inside Docker

Steps to run TLT

  • Install the launcher via pip3

  • Download NGC CLI separately

  • Configure the NGC CLI

  • tlt --help lists out tasks supported by the launcher

  • Launch tasks using the following command schema

    • tlt <task> <subtask> <args> where subtask is defined per task

    • The task may span across multiple Dockers

  • List all instances of TLT tasks using tlt list

  • Interrupt job if needed using tlt stop

  • Pull the TLT Docker

  • Instantiate the Docker with the required file systems mounted

  • Configure the NGC CLI

  • Run generic TLT commands

    • tlt-train <task>

    • tlt-prune

    • tlt-evaluate <task>

    • tlt-infer <task>

    • tlt-export <task>

  • Exit Docker after execution

Data preparation for TLT v2.0 and v3.0 are slightly different for SSD / DSSD / YOLOv3 / RetinaNet. In TLT v2.0, you had to generate TFRecords (and possibly resize your images). Those are no longer required in TLT v3.0. These networks in TLT v3.0 directly take original images and KITTI labels as input. If image resizing is needed, the data loader automatically handles it.

If you already prepared data for TLT v2.0 training, you don’t need to further process it for v3.0 training. Instead, you only need to provide the label directory path in the spec file and TLT v3.0 training should run smoothly.

Note

With TLT v3.0, note that running the following commands from TLT v2.0 from Docker have been deprecated.

  • tlt-train

  • tlt-prune

  • tlt-evaluate

  • tlt-infer

  • tlt-export

  • tlt-augment

© Copyright 2020, NVIDIA. Last updated on Jul 28, 2021.