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

View File

@@ -73,7 +73,7 @@ pip install clearml
Add two lines to your code:
```python
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.