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

Question about the training loss in code #15

Open SuperHan777 opened 2 years ago

SuperHan777 commented 2 years ago

Thanks for releasing the code of your awesome paper. I have a question about the loss calculation in network_pro.py. You generate a new text using the new_ed1 function in load_data.py and use the generated image of the new text string to calculate the discriminator loss, writer classifier loss and the recognition loss together with the generated image of the target text string. What is the purpose of this processing?