Update docs (#373)

This commit is contained in:
pollfly
2022-11-20 10:24:44 +02:00
committed by GitHub
parent 22960fb7d0
commit d2b7135074
4 changed files with 147 additions and 47 deletions

View File

@@ -222,8 +222,14 @@ For more information, see the `SingleFrame` class description.
### Adding SingleFrames to a Dataset Version
Use the `DatasetVersion.add_frames` method to add SingleFrames to a [Dataset version](dataset.md#dataset-versioning)
(see [Creating snapshots](dataset.md#creating-snapshots) or [Creating child versions](dataset.md#creating-child-versions)).
Use the [`DatasetVersion.add_frames`](../references/hyperdataset/hyperdatasetversion.md#add_frames) method to add
SingleFrames to a [Dataset version](dataset.md#dataset-versioning) (see [Creating snapshots](dataset.md#creating-snapshots)
or [Creating child versions](dataset.md#creating-child-versions)). Frames that are already a part of the dataset version
will only be updated.
Use the `upload_retries` parameter to set the number of times the upload of a frame should be retried in case of failure,
before marking the frame as failed and continuing to upload the next frames. The method returns a list of frames that
were not successfully registered or uploaded.
```python
from allegroai import DatasetVersion, SingleFrame