Add offline mode FAQ (#14)

This commit is contained in:
pollfly 2021-07-15 09:54:58 +03:00 committed by GitHub
parent 6ae9f945d5
commit f047245e7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,6 +30,7 @@ title: FAQ
* [In the Web UI, I can't access files that my experiment stored. Why not?](#access_files)
* [I get the message "ClearML Monitor: Could not detect iteration reporting, falling back to iterations as seconds-from-start". What does it mean?](#resource_monitoring)
* [Can I control what ClearML automatically logs?](#controlling_logging)
* [Can I run a ClearML Task while working offline?](#offline_mode)
**Graphs and Logs**
@ -383,6 +384,22 @@ When initializing a Task by calling the `Task.init` method, provide the `auto_co
framework logging, and the `auto_connect_streams` parameter to control `stdout`, `stderr`, and standard logging. The
values are `True`, `False`, and a dictionary for fine-grain control. See [Task.init](references/sdk/task.md#classmethod-initproject_namenone-task_namenone-task_typetasktypestraining-training-tagsnone-reuse_last_task_idtrue-continue_last_taskfalse-output_urinone-auto_connect_arg_parsertrue-auto_connect_frameworkstrue-auto_resource_monitoringtrue-auto_connect_streamstrue).
<br/>
**Can I run ClearML Task while working offline?** <a id="offline_mode"></a>
Yes! You can use ClearML's Offline Mode, in which all the data and logs that a task captures from the code are stored in a
local folder
Before initializing a task, use the [Task.set_offline](references/sdk/task.md#taskset_offline)
class method and set the `offline_mode` argument to `True`. When executed, this returns the Task ID and a path to the local
session folder. In order to upload to the ClearML Server the local execution data that the Task captured offline, use the
[Task.import_offline_session](references/sdk/task.md#taskimport_offline_session) method. See [Storing Task Data Offline](guides/set_offline.md).
## Graphs and Logs
**The first log lines are missing from the experiment console tab. Where did they go?** <a id="first-log-lines-missing"></a>