1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 00:08:49 +00:00
dockerfiles/ludwig/docker-compose.yml

27 lines
643 B
YAML
Raw Normal View History

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