Small edits (#676)

This commit is contained in:
pollfly
2023-10-01 10:31:48 +03:00
committed by GitHub
parent 6b02f02b0d
commit 83fa8adcd5
40 changed files with 127 additions and 127 deletions

View File

@@ -6,13 +6,13 @@ The [using_artifacts_example](https://github.com/allegroai/clearml/blob/master/e
script demonstrates uploading a data file to a task as an artifact and then accessing and utilizing the artifact in a different task.
When the script runs it creates two tasks, `create artifact` and `use artifact from other task`, both of which are associated
with the `examples` project. The first task creates and uploads the artifact, and the second task accesses the first tasks
with the `examples` project. The first task creates and uploads the artifact, and the second task accesses the first task's
artifact and utilizes it.
## Task 1: Uploading an Artifact
The first task uploads a data file as an artifact using the [`Task.upload_artifact`](../../references/sdk/task.md#upload_artifact)
method, inputting the artifacts name and the location of the file.
method, inputting the artifact's name and the location of the file.
```python
task1.upload_artifact(name='data file', artifact_object='data_samples/sample.json')
@@ -21,7 +21,7 @@ task1.upload_artifact(name='data file', artifact_object='data_samples/sample.jso
The task is then closed, using the [`Task.close`](../../references/sdk/task.md#close) method, so another task can be
initialized in the same script.
Artifact details (location and size) can be viewed in ClearMLs **web UI > experiment details > ARTIFACTS tab > OTHER section**.
Artifact details (location and size) can be viewed in ClearML's **web UI > experiment details > ARTIFACTS tab > OTHER section**.
![Artifacts in WebApp](../../img/examples_using_artifacts_1.png)