1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/ludwig/docker-compose.yml

27 lines
643 B
YAML
Raw Normal View History

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