1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/ludwig/docker-compose.yml

27 lines
610 B
YAML
Raw Normal View History

2019-12-06 22:38:30 +02:00
train:
image: vimagick/ludwig
command: train --data_csv train.csv -mdf model.yaml
volumes:
- ./data:/data
visualize:
image: vimagick/ludwig
command: visualize -v learning_curves -trs results/experiment_run/training_statistics.json -od visualize -ff png
volumes:
- ./data:/data
predict:
image: vimagick/ludwig
command: predict --data_csv predict.csv -m results/experiment_run/model
volumes:
- ./data:/data
serve:
image: vimagick/ludwig
command: serve -m results/experiment_run/model -p 8000
ports:
- "8000:8000"
volumes:
- ./data:/data
restart: unless-stopped