keras-text-to-image
keras-text-to-image copied to clipboard
target size order
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.