Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# enables cuda support in docker
FROM nvidia/cuda:10.2-cudnn7-runtime-ubuntu18.04
FROM nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04

# install python 3.6, pip and requirements for opencv-python
# install python 3, pip and requirements for opencv-python
# (see https://github.com/NVIDIA/nvidia-docker/issues/864)
RUN apt-get update && apt-get -y install \
python3 \
Expand All @@ -14,7 +14,7 @@ RUN apt-get update && apt-get -y install \

# install python dependencies
RUN pip3 install --upgrade pip
RUN pip3 install torch~=1.8 torchvision opencv-python-headless~=3.4 timm
RUN pip3 install torch~=1.8 torchvision opencv-python-headless~=3.4 timm imutils

# copy inference code
WORKDIR /opt/MiDaS
Expand Down