Add ClearML object length comment (#51)

This commit is contained in:
pollfly 2021-08-25 09:40:17 +03:00 committed by GitHub
parent 77f370613c
commit eff61fa350
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,13 +130,17 @@ The following table describes the Task states and state transitions.
* Argparse arguments (default and specific to the current execution) * Argparse arguments (default and specific to the current execution)
* Reports to Tensorboard & Matplotlib and model checkpoints. * Reports to Tensorboard & Matplotlib and model checkpoints.
:::note
ClearML object (e.g. task, project) names are required to be at least 3 characters long
:::
```python ```python
from clearml import Task from clearml import Task
task = Task.init( task = Task.init(
project_name='example', project_name='example', # project name of at least 3 characters
task_name='task template', task_name='task template', # task name of at least 3 characters
task_type=None, task_type=None,
tags=None, tags=None,
reuse_last_task_id=True, reuse_last_task_id=True,