You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the code can generate words. But I don't see how to generate a line consistently, i.e. give an input
x = 'I like cats'
and get an an output with similar backgrounds along characters and proper spacing.
Thanks,
The text was updated successfully, but these errors were encountered:
As far as I recall we had, on some of the datasets, a token/character for white-space. you can use it to generate spaces. this is how we generated long sentences like here.
Note, however, that the inconsistent background is an artifact related to the IAM dataset, and is present in the train data (and hence the GAN generates it as well)
Hi @giangnv125
It has been quite a while since I looked at this code (and I was not even the one who wrote it 🙂 ), so I cannot locate the neeed script
I would recommend looking at the generation script to get the general gist of how to create a word, and especially the getImg function
Hi,
I see that the code can generate words. But I don't see how to generate a line consistently, i.e. give an input
x = 'I like cats'
and get an an output with similar backgrounds along characters and proper spacing.
Thanks,
The text was updated successfully, but these errors were encountered: