Installing and running TAO 5.0.0 on a new machine

We received a new machine and I installed Ubuntu 20.04 on it.
Its GPU is NVIDIA GEFORCE 4090 RTX. I then started trying to install TAO toolkit.
I followed most of the steps shwon in the guide video in the link below:

During the steps I actually encountered some issues that even still appear when I later tried to run jupyter notebook of actionrecognitionnet from Firefox browser by executing the following command:

jupyter notebook --ip=0.0.0.0 --no-browser --allow-root

I couldn’t really run some of the commands in actionrecognitionnet.ipnyb. Such as:

!apt update
!apt-get install unrar

The error message shown after running the 2 lines of codes is:

E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin RemoveCaches (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

I don’t get it. With --alow-root, the Permission-related errors still popped up.
I had to modify them by adding “sudo” in front of them so that I could run them.

As for running !tao model action_recognition train, I wasn’t sure if it just got stuck as no newer message appeared after this one:

Pulling from repository: nvcr.io/nvidia/tao/tao-toolkit

Please check below.

`#` NOTE: The following commands require `sudo`. You can run the command outside the notebook.
 !apt update
 !apt-get install unrar

It is pulling docker.
You can also pulling it by yourself.
$ docker pull nvcr.io/nvidia/tao/tao-toolkit:5.0.0-pyt

1 Like

Thanks. I thought that it got stuck during the process of pulling. It’s just that the network speed was sort of slow… Still need to wait for some time to do further tests to make sure that things have been installed and set correctly so that TAO can run on this machine.

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