I tried to run an example code, “facenet.ipynb” from Nvidia, but I have the error of “docker.errors.NotFound: 404 Client Error: Not Found No such container”.
What steps do I possibly miss?
Code block in the example code:
!tao detectnet_v2 dataset_convert \
-d $LOCAL_SPECS_DIR/facenet_tfrecords_kitti_train.txt \
-o $LOCAL_DATA_DIR/tfrecords/training/kitti_train
Error Message:
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (1.26.13) or chardet (3.0.4) doesn’t match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn’t match a supported "
2022-12-22 16:29:23,314 [INFO] root: Registry: [‘nvcr.io’]
2022-12-22 16:29:23,369 [INFO] tlt.components.instance_handler.local_instance: Running command in container: nvcr.io/nvidia/tao/tao-toolkit:4.0.0-tf1.15.5
Error response from daemon: Container 2f0469e240ac727af4e635920883dfc60c0f472b5f8621f895e20f90546b446e is not running
2022-12-22 16:29:24,229 [INFO] tlt.components.docker_handler.docker_handler: Stopping container.
Traceback (most recent call last):
File “/home/isi/.local/lib/python3.8/site-packages/docker/api/client.py”, line 259, in _raise_for_status
response.raise_for_status()
File “/usr/lib/python3/dist-packages/requests/models.py”, line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/containers/2f0469e240ac727af4e635920883dfc60c0f472b5f8621f895e20f90546b446e/stop
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/isi/.local/bin/tao”, line 8, in
sys.exit(main())
File “/home/isi/.local/lib/python3.8/site-packages/tlt/entrypoint/tao.py”, line 114, in main
instance.launch_command(
File “/home/isi/.local/lib/python3.8/site-packages/tlt/components/instance_handler/local_instance.py”, line 319, in launch_command
docker_handler.run_container(command)
File “/home/isi/.local/lib/python3.8/site-packages/tlt/components/docker_handler/docker_handler.py”, line 315, in run_container
self.stop_container()
File “/home/isi/.local/lib/python3.8/site-packages/tlt/components/docker_handler/docker_handler.py”, line 322, in stop_container
self._container.stop()
File “/home/isi/.local/lib/python3.8/site-packages/docker/models/containers.py”, line 436, in stop
return self.client.api.stop(self.id, **kwargs)
File “/home/isi/.local/lib/python3.8/site-packages/docker/utils/decorators.py”, line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File “/home/isi/.local/lib/python3.8/site-packages/docker/api/container.py”, line 1167, in stop
self._raise_for_status(res)
File “/home/isi/.local/lib/python3.8/site-packages/docker/api/client.py”, line 261, in _raise_for_status
raise create_api_error_from_http_exception(e)
File “/home/isi/.local/lib/python3.8/site-packages/docker/errors.py”, line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.NotFound: 404 Client Error: Not Found (“No such container: 2f0469e240ac727af4e635920883dfc60c0f472b5f8621f895e20f90546b446e”)
End of error message
Additionally two more considerations:
I logged in “nvcr.io” using $ docker login nvcr.io
$ tao detectnet_v2 run /bin/bash
also gives the same error with above
Runtime Environment:
Hardware: AGX ORIN
Network Type: Detectnet_v2
tao version: format 2.0, toolkit 4.0.0