mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-31 06:27:22 +00:00
724 B
724 B
title |
---|
Tasks |
Hyper-Datasets extend the ClearML Task with Dataviews.
Usage
Hyper-Datasets are supported by the allegroai
python package.
Connecting Dataviews to a Task
Use Task.connect()
to connect a Dataview object to a Task:
from allegroai import DataView, Task
task = Task.init(project_name='examples', task_name='my task')
dataview = DataView()
task.connect(dataview)
Accessing a Task's Dataviews
Use Task.get_dataviews()
to access the Dataviews that are connected to a Task.
task.get_dataviews()
This returns a dictionary of Dataview objects and their names.