Please provide the following information when requesting support.
• Hardware : T4
• Network Type Dino
• TLT Version
• Training spec file(If have, please share here)
• How to reproduce the issue ? : running pip install nvidia-tao-deploy
Error
root@91f59cfea2c7:/workspace/ai_deployment_pipeline# pip install nvidia-tao-deploy
Collecting nvidia-tao-deploy
Using cached nvidia_tao_deploy-4.0.0.1-py3-none-any.whl (2.5 MB)
Requirement already satisfied: Pillow<9.0.0,>=8.1.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (8.4.0)
Requirement already satisfied: PyYAML>=5.1 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (6.0.1)
Requirement already satisfied: absl-py>=0.7.1 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (2.0.0)
Requirement already satisfied: h5py==3.7.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (3.7.0)
Requirement already satisfied: hydra-core==1.2.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (1.2.0)
Requirement already satisfied: matplotlib>=3.0.3 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (3.7.3)
Requirement already satisfied: mpi4py>=3.0.3 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (3.1.5)
Requirement already satisfied: omegaconf==2.2.2 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (2.2.2)
Requirement already satisfied: onnx in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (1.12.0)
Requirement already satisfied: onnxruntime in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (1.16.2)
Requirement already satisfied: opencv-python in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (4.8.1.78)
Requirement already satisfied: protobuf==3.20.1 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (3.20.1)
Collecting pycocotools-fix (from nvidia-tao-deploy)
Using cached pycocotools-fix-2.0.0.9.tar.gz (124 kB)
Preparing metadata (setup.py) … done
Requirement already satisfied: pynvml==11.0.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (11.0.0)
Requirement already satisfied: scikit-image==0.17.2 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (0.17.2)
Requirement already satisfied: scikit-learn==0.24.2 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (0.24.2)
Requirement already satisfied: scipy==1.5.4 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (1.5.4)
Requirement already satisfied: seaborn==0.7.1 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (0.7.1)
Requirement already satisfied: six>=1.12.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (1.16.0)
Requirement already satisfied: tqdm==4.64.0 in /usr/local/lib/python3.8/dist-packages (from nvidia-tao-deploy) (4.64.0)
Requirement already satisfied: numpy>=1.14.5 in /usr/local/lib/python3.8/dist-packages (from h5py==3.7.0->nvidia-tao-deploy) (1.23.5)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /usr/local/lib/python3.8/dist-packages (from hydra-core==1.2.0->nvidia-tao-deploy) (4.9.3)
Requirement already satisfied: packaging in /usr/local/lib/python3.8/dist-packages (from hydra-core==1.2.0->nvidia-tao-deploy) (23.2)
Requirement already satisfied: importlib-resources in /usr/local/lib/python3.8/dist-packages (from hydra-core==1.2.0->nvidia-tao-deploy) (6.1.1)
Requirement already satisfied: networkx>=2.0 in /usr/local/lib/python3.8/dist-packages (from scikit-image==0.17.2->nvidia-tao-deploy) (3.1)
Requirement already satisfied: imageio>=2.3.0 in /usr/local/lib/python3.8/dist-packages (from scikit-image==0.17.2->nvidia-tao-deploy) (2.32.0)
Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.8/dist-packages (from scikit-image==0.17.2->nvidia-tao-deploy) (2023.7.10)
Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.8/dist-packages (from scikit-image==0.17.2->nvidia-tao-deploy) (1.4.1)
Requirement already satisfied: joblib>=0.11 in /usr/local/lib/python3.8/dist-packages (from scikit-learn==0.24.2->nvidia-tao-deploy) (1.3.2)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.8/dist-packages (from scikit-learn==0.24.2->nvidia-tao-deploy) (3.2.0)
Requirement already satisfied: pandas in /usr/local/lib/python3.8/dist-packages (from seaborn==0.7.1->nvidia-tao-deploy) (2.0.3)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (1.1.1)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (0.12.1)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (4.44.0)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (1.4.5)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (3.1.1)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.8/dist-packages (from matplotlib>=3.0.3->nvidia-tao-deploy) (2.8.2)
Requirement already satisfied: typing-extensions>=3.6.2.1 in /usr/local/lib/python3.8/dist-packages (from onnx->nvidia-tao-deploy) (4.5.0)
Requirement already satisfied: coloredlogs in /usr/local/lib/python3.8/dist-packages (from onnxruntime->nvidia-tao-deploy) (15.0.1)
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.8/dist-packages (from onnxruntime->nvidia-tao-deploy) (23.5.26)
Requirement already satisfied: sympy in /usr/local/lib/python3.8/dist-packages (from onnxruntime->nvidia-tao-deploy) (1.12)
Requirement already satisfied: setuptools>=18.0 in /usr/local/lib/python3.8/dist-packages (from pycocotools-fix->nvidia-tao-deploy) (68.2.2)
Requirement already satisfied: cython>=0.27.3 in /usr/local/lib/python3.8/dist-packages (from pycocotools-fix->nvidia-tao-deploy) (3.0.5)
Requirement already satisfied: zipp>=3.1.0 in /usr/local/lib/python3.8/dist-packages (from importlib-resources->hydra-core==1.2.0->nvidia-tao-deploy) (3.17.0)
Requirement already satisfied: humanfriendly>=9.1 in /usr/local/lib/python3.8/dist-packages (from coloredlogs->onnxruntime->nvidia-tao-deploy) (10.0)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.8/dist-packages (from pandas->seaborn==0.7.1->nvidia-tao-deploy) (2023.3.post1)
Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.8/dist-packages (from pandas->seaborn==0.7.1->nvidia-tao-deploy) (2023.3)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.8/dist-packages (from sympy->onnxruntime->nvidia-tao-deploy) (1.3.0)
Building wheels for collected packages: pycocotools-fix
Building wheel for pycocotools-fix (setup.py) … error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [45 lines of output]
/tmp/pip-install-92q2yghx/pycocotools-fix_6f071d4e9a684254b35d5e5daf468175/setup.py:12: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.Distribution().fetch_build_eggs(install_requires)
/usr/local/lib/python3.8/dist-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-38
creating build/lib.linux-x86_64-cpython-38/pycocotools
copying pycocotools/mask.py -> build/lib.linux-x86_64-cpython-38/pycocotools
copying pycocotools/cocoeval.py -> build/lib.linux-x86_64-cpython-38/pycocotools
copying pycocotools/__init__.py -> build/lib.linux-x86_64-cpython-38/pycocotools
copying pycocotools/coco.py -> build/lib.linux-x86_64-cpython-38/pycocotools
running build_ext
Compiling pycocotools/_mask.pyx because it changed.
[1/1] Cythonizing pycocotools/_mask.pyx
/usr/local/lib/python3.8/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/pip-install-92q2yghx/pycocotools-fix_6f071d4e9a684254b35d5e5daf468175/pycocotools/_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building 'pycocotools._mask' extension
creating build/common
creating build/temp.linux-x86_64-cpython-38
creating build/temp.linux-x86_64-cpython-38/common
creating build/temp.linux-x86_64-cpython-38/pycocotools
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/local/lib/python3.8/dist-packages/numpy/core/include -I./common -I/usr/include/python3.8 -c ../common/maskApi.c -o build/temp.linux-x86_64-cpython-38/../common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
x86_64-linux-gnu-gcc: error: ../common/maskApi.c: No such file or directory
x86_64-linux-gnu-gcc: fatal error: no input files
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycocotools-fix
Running setup.py clean for pycocotools-fix
Failed to build pycocotools-fix
ERROR: Could not build wheels for pycocotools-fix, which is required to install pyproject.toml-based projects