issues
search
heuritech
/
convnets-keras
MIT License
594
stars
185
forks
source link
fixing preprocess_image_batch for images with different shapes
#23
Closed
ivolima
closed
7 years ago
ivolima
commented
7 years ago
There was a bug at the _preprocess_image
batch
function when neither _crop
size
nor _img
size
were provided, and images in image_paths had different shapes.
Also,
AlexNet
requires
color_mode='rgb'
, but the example in
main
used
color_mode='bgr'
.
color_mode='rgb'
, but the example in main usedcolor_mode='bgr'
.