Fix Task type in automation examples

This commit is contained in:
allegroai
2020-07-04 22:59:24 +03:00
parent 2f5b519cd8
commit 6221c6c096
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ from trains import Task
os.environ["TRAINS_DOCKER_IMAGE"] = "nvidia/cuda --network host"
# initialize TRAINS
task = Task.init(project_name="examples", task_name="Remote Jupyter NoteBook")
task = Task.init(project_name="examples", task_name="Remote Jupyter NoteBook", task_type=Task.TaskTypes.service)
# get rid of all the runtime TRAINS
preserve = (