forked from bstriner/pytorch-igniter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMLproject
35 lines (33 loc) · 866 Bytes
/
MLproject
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
name: Pytorch Igniter
# conda_env: my_env.yaml
# Can have a docker_env instead of a conda_env, e.g.
# docker_env:
# image: mlflow-docker-example
entry_points:
mlp:
parameters:
learning_rate:
type: float
default: 0.001
batch_size:
type: int
default: 32
command: "python examples/mlflow_parameters.py"
main:
parameters:
output_dir:
type: string
default: output/mlflow
learning_rate:
type: float
default: 0.001
batch_size:
type: int
default: 32
workers:
type: int
default: 2
dataroot:
type: string
default: data
command: "python examples/train_mnist_advanced.py --output-dir {output_dir} --learning-rate {learning_rate} --batch-size {batch_size} --workers {workers} --dataroot {dataroot}"