mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-07 13:21:46 +00:00
Small edits (#931)
This commit is contained in:
parent
e6886dc867
commit
9f1dd6ccf1
@ -199,7 +199,7 @@ Pass one of the following in the `continue_last_task` parameter:
|
|||||||
You can also continue a task previously executed in offline mode, using `Task.import_offline_session()`.
|
You can also continue a task previously executed in offline mode, using `Task.import_offline_session()`.
|
||||||
See [Offline Mode](#offline-mode).
|
See [Offline Mode](#offline-mode).
|
||||||
|
|
||||||
### Empty Task Creation
|
### Task Creation from Existing Code or Container
|
||||||
|
|
||||||
A task can also be created without the need to execute the code itself.
|
A task can also be created without the need to execute the code itself.
|
||||||
Unlike the runtime detections, all the environment and configuration details need to be provided explicitly.
|
Unlike the runtime detections, all the environment and configuration details need to be provided explicitly.
|
||||||
@ -221,6 +221,9 @@ task = Task.create(
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If the code does not contain a `Task.init()` call, pass `add_task_init_call=True`, and the code will be patched when
|
||||||
|
executed by a ClearML Agent.
|
||||||
|
|
||||||
:::info Argument Specification
|
:::info Argument Specification
|
||||||
When specifying arguments in `argparse_args`, use the full argument name (e.g., `--lr`) instead of the short form
|
When specifying arguments in `argparse_args`, use the full argument name (e.g., `--lr`) instead of the short form
|
||||||
(e.g., `-l`). ClearML works by connecting with the argument parser and replacing the associated variable name, not the
|
(e.g., `-l`). ClearML works by connecting with the argument parser and replacing the associated variable name, not the
|
||||||
|
Loading…
Reference in New Issue
Block a user