forked from NightmareAI/ARF-svox2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cog.yaml
44 lines (39 loc) · 1.94 KB
/
cog.yaml
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
# Configuration for Cog ⚙️
# Reference: https://github.com/replicate/cog/blob/main/docs/yaml.md
build:
# set to true if your model requires a GPU
gpu: true
# a list of ubuntu apt packages to install
system_packages:
- "libgl1-mesa-glx"
- "libglib2.0-0"
- "unzip"
# python version in the form '3.8' or '3.8.12'
python_version: "3.8.8"
python_packages:
- "numpy==1.22.4"
- "imageio==2.19.3"
- "imageio-ffmpeg==0.4.7"
- "ipdb==0.13.9"
- "lpips==0.1.4"
- "opencv-python==4.6.0.66"
- "Pillow==9.1.1"
- "pyyaml==6.0"
- "tensorboard==2.9.1"
- "pymcubes==0.1.2"
- "moviepy==1.0.3"
- "matplotlib==3.5.2"
- "scipy==1.8.1"
- "torchvision==0.10.0"
- "torch==1.9.0"
- "tqdm==4.64.0"
- "icecream==2.1.2"
run:
- "mkdir -p /root/.cache/arf-svox2/data/custom"
- "wget https://models.nmb.ai/ARF/nerf_llff_data.zip --quiet -O /root/.cache/arf-svox2/data/llff.zip; unzip /root/.cache/arf-svox2/data/llff.zip -d /root/.cache/arf-svox2/data/; rm /root/.cache/arf-svox2/data/llff.zip; mv /root/.cache/arf-svox2/data/nerf_llff_data /root/.cache/arf-svox2/data/llff"
- "wget https://models.nmb.ai/ARF/TanksAndTempleBG.zip --quiet -O /root/.cache/arf-svox2/data/tnt.zip; unzip /root/.cache/arf-svox2/data/tnt.zip -d /root/.cache/arf-svox2/data/; rm /root/.cache/arf-svox2/data/tnt.zip; mv /root/.cache/arf-svox2/data/TanksAndTempleBG /root/.cache/arf-svox2/data/tnt"
- "wget https://models.nmb.ai/ARF/lego_real_night_radial.tar.gz --quiet -O - | tar xz -C /root/.cache/arf-svox2/data; mv /root/.cache/arf-svox2/data/lego_real_night_radial /root/.cache/arf-svox2/data/custom/lego"
- "mkdir -p /root/.cache/arf-svox2/ckpt-svox2/llff/flower ; wget https://arf.nmb.ai/ckpt_svox2/llff/flower/ckpt.npz --quiet -O /root/.cache/arf-svox2/ckpt-svox2/llff/flower/ckpt.npz"
# predict.py defines how predictions are run on your model
predict: "predict.py:Predictor"
image: "r8.im/nightmareai/arf-svox2"