Skip to content

Installing dlc-live on nvidia jetson #69

@Alexander-H9

Description

@Alexander-H9

Install dlc-live on the Jetson Nano within Docker

The Dockerfile is as followed (used SDK and JetPack in the links):

#Instructions: https://github.com/DeepLabCut/DeepLabCut-live/blob/master/docs/install_jetson.md
#Installed SDK: https://developer.nvidia.com/jetpack-sdk-441-archive
#Installed jetpack: https://docs.nvidia.com/jetson/jetpack/install-jetpack/index.html#package-management-tool

#TensorFlow 1.15 Container for JetPack 4.4.1 https://catalog.ngc.nvidia.com/orgs/nvidia/containers/l4t-tensorflow
FROM nvcr.io/nvidia/l4t-tensorflow:r32.4.4-tf1.15-py3

RUN apt-get update -y && apt-get upgrade -y

RUN apt-get install -y
libhdf5-serial-dev
hdf5-tools
libhdf5-dev
zlib1g-dev
zip
libjpeg8-dev
liblapack-dev
libblas-dev
gfortran
python3-pip
python3-venv
python3-tk
curl

RUN pip3 install -U pip testresources setuptools

#Skip pip dependencies (for TensorFlow), because already in the container

#Skip TenorFlow Installation, because already in the container
#RUN pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v44 'tensorflow<2'

RUN pip3 install deeplabcut-live

CMD ["dlc-live-test"]
#End of the file

I also tried to install it with a virtual enviroment but the error is the same. After a long time of Building wheel and Getting requirements to build wheel the build process ends, but pip3 shows deeplabcut-live installed as version 0.0 and executing the dlc-live -test results in:
Traceback (most recent call last): File "/usr/local/bin/dlc-live-test", line 5, in <module> from check_install.check_install import main ModuleNotFoundError: No module named 'check_install'

Full docker output is in log.txt
Any help is appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions