-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (47 loc) · 1.13 KB
/
docker-compose.yml
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
# Compose file to create tensorflow container to export waymo eval data.
# Can use `docker compose build` to create the image, assuming that
# docker-build.sh was previously run to create the baseline image.
version: '3.3'
services:
waymo-eval:
shm_size: 16gb
tty: true
build:
dockerfile: tf.Dockerfile
args:
- BASE_IMAGE=$REGISTRY_URL/mp:master
image: $REGISTRY_URL/mp:tf
entrypoint:
# [
# python3,
# /workspace/evaluate.py,
# evaluate,
# /ckpt/4c91d8d74a07bb2894158848c74a188b,
# --split,
# VAL
# ]
[
pytest,
test/test_waymo_native.py
]
environment:
- PRETRAINED_ROOT=/ckpt
- IMAGE_OUT=/workspace
volumes:
- type: bind
source: ./
target: /workspace
read_only: false
- type: bind
source: /path/to/checkpoints
target: /ckpt
read_only: false
- type: bind
source: /path/to/datasets
target: /data
read_only: false
deploy:
resources:
reservations:
devices:
- capabilities: [ gpu ]