fix task init command in readme (#267)

This commit is contained in:
Harry Wang 2020-12-23 17:39:31 -05:00 committed by GitHub
parent a29a655a6e
commit 0143b61a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ pip install clearml
Add two lines to your code: Add two lines to your code:
```python ```python
from clearml import Task from clearml import Task
task = Task(project_name='examples', task_name='hello world') task = Task.init(project_name='examples', task_name='hello world')
``` ```
You are done, everything your process outputs is now automagically logged into ClearML. You are done, everything your process outputs is now automagically logged into ClearML.