-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloth-splatting.dockerfile
57 lines (49 loc) · 1.16 KB
/
cloth-splatting.dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM nvidia/cuda:12.0.0-devel-ubuntu22.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y \
git python3-dev python3-pip \
libglib2.0-0
# Dependencies for glvnd and X11.
RUN apt-get update \
&& apt-get install -y -qq --no-install-recommends \
libglvnd0 \
libgl1 \
libglx0 \
libegl1 \
libxext6 \
libx11-6 \
&& rm -rf /var/lib/apt/lists/*
# Env vars for the nvidia-container-runtime.
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute
# Dependency for EGL
RUN apt update && apt install -y cmake build-essential libgl1-mesa-dev freeglut3-dev libglfw3-dev libgles2-mesa-dev
RUN pip install torch==2.2.0 \
torchvision \
torchaudio \
--index-url https://download.pytorch.org/whl/cu121
RUN pip install torch_geometric
RUN pip install pyg_lib \
torch_scatter \
torch_sparse torch_cluster \
torch_spline_conv \
-f https://data.pyg.org/whl/torch-2.2.0+cu121.html
RUN pip install mmcv==1.6.0 \
matplotlib \
argparse \
lpips \
plyfile \
imageio-ffmpeg \
h5py \
imageio \
natsort \
numpy \
wandb \
open3d \
seaborn \
trimesh \
spatialmath-python \
pybind11 \
gym \
moviepy \
shapely