Skip to content

Commit

Permalink
Adding .png to the list of allowed extensions in the im2rec.py (apach…
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong authored and szha committed Dec 12, 2017
1 parent cc34358 commit ee92983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/im2rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def parse_args():
help='If this is set im2rec will create image list(s) by traversing root folder\
and output to <prefix>.lst.\
Otherwise im2rec will read <prefix>.lst and create a database at <prefix>.rec')
cgroup.add_argument('--exts', nargs='+', default=['.jpeg', '.jpg'],
cgroup.add_argument('--exts', nargs='+', default=['.jpeg', '.jpg', '.png'],
help='list of acceptable image extensions.')
cgroup.add_argument('--chunks', type=int, default=1, help='number of chunks.')
cgroup.add_argument('--train-ratio', type=float, default=1.0,
Expand Down

0 comments on commit ee92983

Please sign in to comment.