Transfer Learning Toolkit

I am trying to run the Transfer Learning Toolkit tutorial as laid out in this link:

article: Nvidia Transfer Learning Toolkit — A Comprehensive Guide | by SmartCow | Medium

github: Transfer-Learning-Toolkit-A-Comprehensive-Guide/spec_files at master · nitin-smc/Transfer-Learning-Toolkit-A-Comprehensive-Guide · GitHub

I get the following error when I run the “!tlt-dataset-convert -d spec_files/convert.txt -o /workspace/tf_records/” command.

Traceback (most recent call last):
File “/usr/local/bin/tlt-dataset-convert”, line 6, in
from iva.detectnet_v2.scripts.dataset_convert import main
File “./detectnet_v2/scripts/”, line 14, in
File “./detectnet_v2/dataio/”, line 13, in
File “./detectnet_v2/dataio/”, line 22, in
File “./detectnet_v2/dataio/”, line 20, in
File “./detectnet_v2/dataloader/”, line 15, in
File “/usr/local/lib/python2.7/dist-packages/modulus/”, line 8, in
from modulus import blocks
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/”, line 22, in
from modulus.blocks import data_loaders
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/data_loaders/”, line 9, in
from modulus.blocks.data_loaders.sqlite_dataloader import SQLiteDataLoader
File “./modulus/blocks/data_loaders/”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/dataloader/”, line 8, in
from modulus.dataloader import humanloop
File “./modulus/dataloader/”, line 16, in
File “/usr/local/lib/python2.7/dist-packages/modulus/processors/”, line 26, in
from modulus.processors.buffers import NamedTupleStagingArea
File “./modulus/processors/”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/hooks/”, line 8, in
from modulus.hooks import utils
File “./modulus/hooks/”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/hooks/”, line 8, in
from modulus.blocks.hooks.hooks import SaveBestModelHook
File “./modulus/blocks/hooks/”, line 21, in
AttributeError: ‘module’ object has no attribute ‘SessionRunHook’

I am running a docker image of TLT Stream Analytics v1.0_py2.


We are moving this post to the TAO toolkit forum to get better help.

Thank you.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one.

This version is old. You can use the latest version of TLT(currently, it is named TAO) .
See more info in TAO Toolkit — TAO Toolkit 3.22.05 documentation

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.