Small edits (#601)

This commit is contained in:
pollfly 2023-06-22 11:08:28 +03:00 committed by GitHub
parent 3f5d541367
commit 9a89fa1f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,10 +209,10 @@ To create a [`SingleFrame`](../references/hyperdataset/singleframe.md), instanti
from allegroai import SingleFrame
frame = SingleFrame(
source='/home/user/woof_meow.jpg',
source='s3://my/bucket/path_to_file.jpg',
width=None,
height=None,
preview_uri='https://storage.googleapis.com/kaggle-competitions/kaggle/3362/media/woof_meow.jpg',
preview_uri='s3://my/bucket/path_to_file.jpg',
metadata=None,
annotations=None,
mask_source=None,
@ -246,10 +246,10 @@ frames = []
# create a frame
frame = SingleFrame(
source='https://allegro-datasets.s3.amazonaws.com/tutorials/000012.jpg',
source='s3://my/bucket/path_to_file.jpg',
width=512,
height=512,
preview_uri='https://allegro-datasets.s3.amazonaws.com/tutorials/000012.jpg',
preview_uri='s3://my/bucket/path_to_file.jpg',
metadata={'alive':'yes'},
)