You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For users saving the delta table in metastore, it is more convenient to use table_name to reference the data than the path argument of create_pytorch_dataloader
create_pytorch_dataloader(
# Path to the DeltaLake table
path,
# Autoincrement ID field
id_field="id",
# Fields which will be used during training
fields=[
FieldSpec("image",
# Load image using Pillow
load_image_using_pil=True,
# PyTorch Transform
transform=transform),
FieldSpec("label"),
],
# Number of readers
num_workers=2,
# Shuffle data inside the record batches
shuffle=True,
# Batch size
batch_size=batch_size,
)
The text was updated successfully, but these errors were encountered:
For users saving the delta table in metastore, it is more convenient to use
table_name
to reference the data than the path argument ofcreate_pytorch_dataloader
The text was updated successfully, but these errors were encountered: