Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 796 Bytes

INSTALL.md

File metadata and controls

37 lines (31 loc) · 796 Bytes

Installation Tips

Docker-Compose

If you do not have a docker-compose environment:

sudo apt install docker-compose
sudo service docker start

To install NMS extension, nvidia runtine must be enabled during build. Add default-runtime to /etc/docker/daemon.json as follows:

{
    "runtimes": {
        "nvidia": {
            "path": "nvidia-container-runtime",
            "runtimeArgs": []
        }
    },
    "default-runtime": "nvidia"
}
sudo systemctl restart docker
docker-compose build --build-arg UID="`id -u`" dev
docker-compose run --rm dev

In case NMS installation still fails, skip RUN python /tmp/nms/setup.py install in Dockerfile and build nms inside the container:

cd libs/models/layers/nms/
python setup.py install
cd /work