DG-Font icon indicating copy to clipboard operation
DG-Font copied to clipboard

Question the Train issues

Open moolinks opened this issue 2 years ago • 2 comments

Hello,I am a senior majoring in computer science. 😵‍💫Please forgive me for my poor level,I learned your work at 2021 DG-font,it's a excellent job & when I re-build your project,I find some issues in training process

  • 1 I want to ask the meaning of these parameters
# separated : train IIC only until epoch = args.separated
# ema_start : Apply EMA to Generator after args.ema_start
# unsup_start : train networks with supervised data only before unsup_start_
  • 2 When i trian this model with this command
python main.py --gpu 0 --img_size 80 --data_path save_floder --batch_size 4
val_num 190

some parameters have been written in main.py i get 400 different Fonts and every fonts with 990 imgs but the train process stop at second epoch like this 6N163OK$R%MWC3QNWGM%373 i check the parameters in main.py is right You also can get me with email:[email protected](also my qq number) Hope can get your guidance🥳

moolinks avatar Feb 27 '22 07:02 moolinks

Maybe the labels of font style in your training set are not continuous? What's more, follow this: issue https://github.com/ecnuycxie/DG-Font/issues/11#issuecomment-892472339

LsFlyt avatar Mar 01 '22 06:03 LsFlyt

  1. These parameters are only for debugging and can be ignored. 2, It seems that the code reads the wrong validation/test images. You'd better check that the image is being read correctly.

ecnuycxie avatar Mar 01 '22 06:03 ecnuycxie