mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-15 19:10:22 +00:00
Small edits (#601)
This commit is contained in:
parent
3f5d541367
commit
9a89fa1f97
@ -209,10 +209,10 @@ To create a [`SingleFrame`](../references/hyperdataset/singleframe.md), instanti
|
|||||||
from allegroai import SingleFrame
|
from allegroai import SingleFrame
|
||||||
|
|
||||||
frame = SingleFrame(
|
frame = SingleFrame(
|
||||||
source='/home/user/woof_meow.jpg',
|
source='s3://my/bucket/path_to_file.jpg',
|
||||||
width=None,
|
width=None,
|
||||||
height=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,
|
metadata=None,
|
||||||
annotations=None,
|
annotations=None,
|
||||||
mask_source=None,
|
mask_source=None,
|
||||||
@ -246,10 +246,10 @@ frames = []
|
|||||||
|
|
||||||
# create a frame
|
# create a frame
|
||||||
frame = SingleFrame(
|
frame = SingleFrame(
|
||||||
source='https://allegro-datasets.s3.amazonaws.com/tutorials/000012.jpg',
|
source='s3://my/bucket/path_to_file.jpg',
|
||||||
width=512,
|
width=512,
|
||||||
height=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'},
|
metadata={'alive':'yes'},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user