Skip to content

Commit

Permalink
fix crop_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiqing committed Nov 23, 2023
1 parent 1023e49 commit a8a8b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion img2dataset/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def signal_handler(signal_arg, frame): # pylint: disable=unused-argument
number_sample_per_shard,
done_shards,
temp_download_folder,
crop_mode,
crop_mode if crop_mode != "no" else None,
)

if output_format == "webdataset":
Expand Down

0 comments on commit a8a8b5d

Please sign in to comment.