keras-text-to-image icon indicating copy to clipboard operation
keras-text-to-image copied to clipboard

target size order

Open mpizosdim opened this issue 6 years ago • 0 comments

https://github.com/chen0040/keras-text-to-image/blob/97a2d2a8678e775ea3e6e0a4cd511b824d79755c/keras_text_to_image/library/utility/img_cap_loader.py#L25

This should be: image = img_to_array(load_img(img_path, target_size=(img_height, img_width)))

Not that it matters in the specific case(img_height == img_width). The equivalent should be changed also in the network.

mpizosdim avatar Sep 14 '18 15:09 mpizosdim