Skip to content

Commit

Permalink
fixed resize_opt not used
Browse files Browse the repository at this point in the history
  • Loading branch information
hanzhi713 committed Jan 25, 2022
1 parent 18581f0 commit de080df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_img.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ def main(args):
# ext = os.path.splitext(file_name)[-1]
# assert ext.lower() == ".jpg" or ext.lower() == ".png", "The file extension must be .jpg or .png"

imgs = read_images(args.path, (args.size, args.size), args.recursive, args.num_process)
imgs = read_images(args.path, (args.size, args.size), args.recursive, args.num_process, args.resize_opt)
if len(args.dest_img) == 0:
if args.exp:
sort_exp(args, imgs)
Expand Down

0 comments on commit de080df

Please sign in to comment.