This commit is contained in:
s434695 2021-05-24 00:51:33 +02:00
parent 84641091ce
commit 93a992d53d

View File

@ -18,8 +18,7 @@ from mlflow.tracking import MlflowClient
mlflow.set_tracking_uri("http://172.17.0.1:5000") mlflow.set_tracking_uri("http://172.17.0.1:5000")
mlflow.set_experiment("s434695")
client = MlflowClient()
def my_main(epochs, batch_size): def my_main(epochs, batch_size):
@ -60,6 +59,7 @@ def my_main(epochs, batch_size):
epochs = int(sys.argv[1]) if len(sys.argv) > 1 else 15 epochs = int(sys.argv[1]) if len(sys.argv) > 1 else 15
batch_size = int(sys.argv[2]) if len(sys.argv) > 2 else 16 batch_size = int(sys.argv[2]) if len(sys.argv) > 2 else 16
mlflow.set_experiment("s434695")
with mlflow.start_run(): with mlflow.start_run():