Skip to content

Commit 113314f

Browse files
committed
update
1 parent 3f4fbd5 commit 113314f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdgym/benchmark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _setup_output_destination(
242242
The s3 client that can be used to read / write to s3. Defaults to ``None``.
243243
"""
244244
if s3_client:
245-
return _setup_output_destination_aws(output_destination, synthesizers, datasets, s3_client)
245+
return _setup_output_destination_aws(output_destination, synthesizers, datasets, modality, s3_client)
246246

247247
if output_destination is None:
248248
return {}
@@ -399,7 +399,7 @@ def _synthesize(
399399
synthesizer_obj = get_synthesizer(data, metadata)
400400
synthesizer_size = len(cloudpickle.dumps(synthesizer_obj)) / N_BYTES_IN_MB
401401
train_now = get_utc_now()
402-
synthetic_data = sample_from_synthesizer(synthesizer_obj, n_samples=num_samples)
402+
synthetic_data = sample_from_synthesizer(synthesizer_obj, num_samples)
403403
sample_now = get_utc_now()
404404

405405
peak_memory = tracemalloc.get_traced_memory()[1] / N_BYTES_IN_MB

0 commit comments

Comments
 (0)