Registred model.
Some checks failed
s426206-training/pipeline/head There was a failure building this commit
Some checks failed
s426206-training/pipeline/head There was a failure building this commit
This commit is contained in:
parent
8aa04f9fac
commit
d12925a0d7
@ -35,10 +35,10 @@ pipeline {
|
|||||||
sh 'chmod +x dlgssdpytorch.py'
|
sh 'chmod +x dlgssdpytorch.py'
|
||||||
sh 'python3 ./dlgssdpytorch.py $PARAMETRY'
|
sh 'python3 ./dlgssdpytorch.py $PARAMETRY'
|
||||||
sh 'chmod +x train_mlflow.py'
|
sh 'chmod +x train_mlflow.py'
|
||||||
sh 'python3 ./train_mlflow.py -e 5'
|
sh 'python3 ./train_mlflow.py $PARAMETRY'
|
||||||
//sh 'mlflow run --experiment-name s426206 .' //Uruchamiany projekt nie moze znajdowac sie w katalogach z wielkimi literami.
|
//sh 'mlflow run --experiment-name s426206 .' //Uruchamiany projekt nie moze znajdowac sie w katalogach z wielkimi literami.
|
||||||
sh 'chmod +x generate_MLmodel.py'
|
sh 'chmod +x generate_MLmodel.py'
|
||||||
sh 'python3 ./generate_MLmodel.py -e 5'
|
sh 'python3 ./generate_MLmodel.py $PARAMETRY'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,8 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
lr = args.lr
|
lr = args.lr
|
||||||
n_epochs = args.epochs
|
n_epochs = args.epochs
|
||||||
mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
mlflow.set_tracking_uri("http://127.0.0.1:5000")
|
||||||
|
#mlflow.set_tracking_uri("http://172.17.0.1:5000")
|
||||||
mlflow.set_experiment("s426206")
|
mlflow.set_experiment("s426206")
|
||||||
with mlflow.start_run():
|
with mlflow.start_run():
|
||||||
mlflow.log_param("lr", lr)
|
mlflow.log_param("lr", lr)
|
||||||
|
Loading…
Reference in New Issue
Block a user