omni-us / research-GANwriting

Source code for ECCV20 "GANwriting: Content-Conditioned Generation of Styled Handwritten Word Images"
MIT License
66 stars 22 forks source link

Adds support for variable word length #4

Closed hendraet closed 3 years ago

hendraet commented 3 years ago

This commit introduces some padding to the repetition of the encoded word so that it is possible to generate words of lengths that aren't a factor off the width of the VGG output. The encoded word is repeated as many times as possible and afterwards padded with the embedded PAD_TOKEN so that it matches this dimension.

leitro commented 3 years ago

Nice job! Cheers!