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/dataset_convert.py”, line 14, in
File “./detectnet_v2/dataio/build_converter.py”, line 13, in
File “./detectnet_v2/dataio/kitti_converter_lib.py”, line 22, in
File “./detectnet_v2/dataio/dataset_converter_lib.py”, line 20, in
File “./detectnet_v2/dataloader/utilities.py”, line 15, in
File “/usr/local/lib/python2.7/dist-packages/modulus/init.py”, line 8, in
from modulus import blocks
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/init.py”, line 22, in
from modulus.blocks import data_loaders
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/data_loaders/init.py”, line 9, in
from modulus.blocks.data_loaders.sqlite_dataloader import SQLiteDataLoader
File “./modulus/blocks/data_loaders/sqlite_dataloader.py”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/dataloader/init.py”, line 8, in
from modulus.dataloader import humanloop
File “./modulus/dataloader/humanloop.py”, line 16, in
File “/usr/local/lib/python2.7/dist-packages/modulus/processors/init.py”, line 26, in
from modulus.processors.buffers import NamedTupleStagingArea
File “./modulus/processors/buffers.py”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/hooks/init.py”, line 8, in
from modulus.hooks import utils
File “./modulus/hooks/utils.py”, line 10, in
File “/usr/local/lib/python2.7/dist-packages/modulus/blocks/hooks/init.py”, line 8, in
from modulus.blocks.hooks.hooks import SaveBestModelHook
File “./modulus/blocks/hooks/hooks.py”, line 21, in
AttributeError: ‘module’ object has no attribute ‘SessionRunHook’

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

Hi,

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.
Thanks

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

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