Compare commits

...

2 Commits

Author SHA1 Message Date
fb944fa73e feat: create mlflow experiments monitoring 2023-05-12 20:14:48 +02:00
5fb057030a mlflow 2023-05-12 20:14:07 +02:00
2 changed files with 14 additions and 1 deletions

13
MLproject Executable file
View File

@ -0,0 +1,13 @@
name: s424714
conda_env: environment.yml #ścieżka do pliku conda.yaml z definicją środowiska
entry_points:
main:
parameters:
epochs: {type: int, default: 3}
lr: {type: float, default: 0.000001}
command: "python src/main.py --train --lr={lr} -e={epochs}"
# command: "python src/train.py --train --lr={lr} -e={epochs}"
validate:
command: "python src/main.py --train"

View File

@ -28,7 +28,7 @@ parser.add_argument("--num_epochs", "--epochs", "-e", type=int, default=3)
# mlflow stuff
mlflow.set_tracking_uri("http://localhost:5000")
mlflow.set_experiment("s424714")
# mlflow.set_experiment("s424714")
def main():