NVIDIA TAO Toolkit v4.0.1:'NoneType' object is not iterable

I have been using NVIDIA TAO Toolkit v4.0.1 and suddenly encountered the message “NoneType 'object is not iterable” when running “! Ngc registry model list nvidia/tao/retrained_classification: *”.
I downloaded the NVIDIA TAO Toolkit again and checked the environment, but the issue still persists

Come Come on!Come on!Come on!

How did you download ngc bin file?

Also, could you share the notebook link which contains “! ngc registry model list nvidia/tao/retrained_classification: *” ?

I’m also running into this issue. I used --debug and got some more details

Traceback (most recent call last):
  File "ngccli/ngc.py", line 156, in main
  File "ngcbpc/tracing.py", line 174, in wrapper_span
  File "ngcbpc/command/clicommand.py", line 216, in traced_func
  File "registry/command/model.py", line 193, in list
TypeError: 'NoneType' object is not iterable

@Morganh ngc cli can be downloaded from org.ngc.nvidia.com/setup/installers/cli

I can reproduce this error. As a workaround, please directly download the expected model. For example,
$ ngc registry model download-version nvidia/tao/pretrained_classification:resnet18
$ ngc registry model download-version nvidia/tao/pretrained_classification:cspdarknet53

You can find them in TAO Pretrained Classification | NVIDIA NGC.
You can also use wget or curl to download.

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

Please run
! ngc registry model list nvidia/tao/pretrained_classification:*

instead of
! ngc registry model list nvidia/tao/pretrained_classification: *

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