Skip to content
Snippets Groups Projects
Commit 74e92302 authored by Brummans, Nick's avatar Brummans, Nick
Browse files

update for agent to work with demo

parent e923e73f
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ pipe.add_parameter(
'data/mnist_png/testing'
)
pipe.set_default_execution_queue("default")
pipe.set_default_execution_queue("docker_image")
# pipe.set_default_execution_queue('test')
# Adding the first stage to the pipeline, a clone of the base tasks will be created and used
......@@ -39,8 +39,8 @@ pipe.add_step(name='stage_train',
)
# Starting the pipeline
pipe.start_locally(run_pipeline_steps_locally=True)
#pipe.start_locally(run_pipeline_steps_locally=True)
# comment line above and uncomment line below to run scrips on queue test on which agents are listening
#pipe.start(queue='test')
pipe.start(queue='docker_image')
print('done')
from clearml import Task, Dataset
Task.add_requirements("-r ./requirements.txt")
#Task.add_requirements("-r ./requirements.txt")
task = Task.init(project_name="pipeline",
task_name="pipeline step 1 dataset artifact",
output_uri=True)
......
......@@ -75,7 +75,7 @@ def validate(model, testloader, criterion):
epoch_acc = 100. * (valid_running_correct / len(testloader.dataset))
return epoch_loss, epoch_acc
Task.add_requirements("-r ./requirements.txt")
#Task.add_requirements("-r ./requirements.txt")
task = Task.init(project_name="pipeline",
task_name="pipeline step 2 train model",
output_uri=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment