mirror of
https://github.com/clearml/clearml
synced 2025-04-02 00:26:05 +00:00
Fix example project name
This commit is contained in:
parent
3643446f56
commit
39d8d8f0cb
@ -2,7 +2,7 @@ from clearml import Task
|
||||
|
||||
|
||||
for i in range(3):
|
||||
task = Task.init(project_name="same process, multiple tasks", task_name="Task #{}".format(i))
|
||||
task = Task.init(project_name="examples", task_name="same process, multiple tasks, Task #{}".format(i))
|
||||
# Doing Task processing here
|
||||
print("Task #{} running".format(i))
|
||||
#
|
||||
|
@ -8,7 +8,7 @@ from clearml import Task
|
||||
|
||||
# Connecting ClearML with the current process,
|
||||
# from here on everything is logged automatically
|
||||
task = Task.init(project_name="example", task_name="fastai with tensorboard callback")
|
||||
task = Task.init(project_name="examples", task_name="fastai with tensorboard callback")
|
||||
|
||||
path = untar_data(URLs.MNIST_SAMPLE)
|
||||
|
||||
|
@ -19,7 +19,7 @@ from clearml import Task, StorageManager
|
||||
|
||||
# Connecting ClearML with the current process,
|
||||
# from here on everything is logged automatically
|
||||
task = Task.init(project_name='Image Example', task_name='image classification CIFAR10')
|
||||
task = Task.init(project_name='examples', task_name='image classification CIFAR10')
|
||||
params = {'number_of_epochs': 20, 'batch_size': 64, 'dropout': 0.25, 'base_lr': 0.001, 'momentum': 0.9, 'loss_report': 100}
|
||||
params = task.connect(params) # enabling configuration override by clearml
|
||||
print(params) # printing actual configuration (after override in remote mode)
|
||||
|
@ -8,7 +8,7 @@ from clearml import Task
|
||||
|
||||
def main():
|
||||
# Getting the task we want to get the artifacts from
|
||||
artifacts_task = Task.get_task(project_name='ClearML Examples', task_name='artifacts example')
|
||||
artifacts_task = Task.get_task(project_name='examples', task_name='artifacts example')
|
||||
|
||||
# getting the numpy object back
|
||||
numpy_artifact = artifacts_task.artifacts['Numpy Eye'].get()
|
||||
|
@ -201,7 +201,7 @@ def main():
|
||||
# start the monitoring Task
|
||||
# Connecting ClearML with the current process,
|
||||
# from here on everything is logged automatically
|
||||
task = Task.init(project_name='Monitoring', task_name='Slack Alerts', task_type=Task.TaskTypes.monitor)
|
||||
task = Task.init(project_name='DevOps', task_name='Slack Alerts', task_type=Task.TaskTypes.monitor)
|
||||
if not args.local:
|
||||
task.execute_remotely(queue_name=args.service_queue)
|
||||
# we will not get here if we are running locally
|
||||
|
Loading…
Reference in New Issue
Block a user