NVIDIA / tao_tutorials

Quick start scripts and tutorial notebooks to get started with TAO Toolkit
Apache License 2.0
46 stars 12 forks source link

problem with nvcr.io login when training tao centerpose #3

Closed monajalal closed 8 months ago

monajalal commented 8 months ago

Could you please help me understand why there is a need for nvcr.io login? I am running the CenterPose training on my local workstation

For multi-GPU, change num_gpus in train.yaml based on your machine or pass --gpus to the cli.
2024-02-20 15:17:40,348 [TAO Toolkit] [INFO] root 160: Registry: ['nvcr.io']
Traceback (most recent call last):
  File "/home/mona/anaconda3/bin/tao", line 8, in <module>
    sys.exit(main())
  File "/home/mona/anaconda3/lib/python3.9/site-packages/nvidia_tao_cli/entrypoint/tao_launcher.py", line 134, in main
    instance.launch_command(
  File "/home/mona/anaconda3/lib/python3.9/site-packages/nvidia_tao_cli/components/instance_handler/local_instance.py", line 356, in launch_command
    docker_logged_in(required_registry=task_map[task].docker_registry)
  File "/home/mona/anaconda3/lib/python3.9/site-packages/nvidia_tao_cli/components/instance_handler/utils.py", line 171, in docker_logged_in
    assert all(
AssertionError: 
Docker not logged in to nvcr.io. Please run docker login nvcr.io

Also, I am not sure what my password is and I cannot find it anywhere on my ngc account to reset the password. I am also not sure if my username is mona.jalal or mona.jalal@toyotatmh.com?

Further, if I run this in jupyter notebook, it prompts for username but I cannot enter it. I decided to first run this command in terminal and then launch the jupyter notebook and with that my challenge is that I don't know if my username is mona.jalal and what my password is?

I have run TAO for 2D detection this week and had no problem.

For reference, this is the cell I get stuck at using this notebook: http://localhost:8888/lab/tree/centerpose.ipynb

image