Skip to content

Commit

Permalink
Fix sd feature extractor extensions parser (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
tayden authored Sep 21, 2024
1 parent 92b0126 commit c4033c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/sd_feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def parse_args():
parser = argparse.ArgumentParser()
parser.add_argument("image_dir", type=str)
parser.add_argument("--output", "-o", type=str, default=None)
parser.add_argument("--extensions", "-e", type=str, default=["jpg", "JPG", "jpeg", "JPEG"])
parser.add_argument("--extensions", "-e", nargs="+", type=str, default=["jpg", "JPG", "jpeg", "JPEG"])
parser.add_argument("--image-size", "-s", type=int, default=800)
parser.add_argument("--seed", type=int, default=42)
parser.add_argument("--image_list", "--image-list", type=str, default=None)
Expand Down

0 comments on commit c4033c9

Please sign in to comment.