/bin/bash: ngc: command not found

Please provide the following information when requesting support.

• Hardware (T4/V100/Xavier/Nano/etc)
• Network Type (Detectnet_v2/Faster_rcnn/Yolo_v4/LPRnet/Mask_rcnn/Classification/etc)
• TLT Version (Please run “tlt info --verbose” and share “docker_tag” here)
• Training spec file(If have, please share here)
• How to reproduce the issue ? (This is for errors. Please share the command line and the detailed log here.)

I’m getting ngc run error when I try it DLI online course.
https://courses.nvidia.com/courses/course-v1:DLI+S-IV-01+V1/

1 Like

ngc is a tool. Refer to NVIDIA NGC

wget --content-disposition https://ngc.nvidia.com/downloads/ngccli_linux.zip && unzip ngccli_linux.zip && chmod u+x ngc-cli/ngc

1 Like

As you can see, this command is applied at the first cell in the image.
And I try your command on the terminal, It is not working also.

Please chmod it.

More info, please refer to Unable to pull pretrained model from NGC - #8 by Morganh

Hello,
Despite of chmod, ngc command doesn’t work.
I tried => chmod u+x /ngc_assests/ngccli/ngc-cli/ngc
image

So, I download trained model from ngc website.

And It works, the model is training by pratice code

Maybe, I’ll do it as same for the class.
Anyway, I think this process is not natrual.
Please, someone follows up for DLI online course to fix.

Can you run

! ls ngc_assests/ngccli/ngc-cli/ngc

and then

! ngc_assests/ngccli/ngc-cli/ngc registry model download-version nvidia/tao/trafficcamnet:unpruned_v1.0

3 Likes

Thansks, It works.

!ngc_assets/ngccli/ngc-cli/ngc

I am getting the same " /bin/bash: ngc: command not found" error and when I do this : !ngc_assets/ngccli/ngc-cli/ngc I am getting this error :

ngc_assests (X)
ngc_assets (O)
You can look the path in the Archive Line in the Image what you shared

2 Likes

It works :
!ngc_assets/ngccli/ngc-cli/ngc registry model list nvidia/tao/* --column name --column repository --column application

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