Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about total variation regularization and training strategy of appearance generative network #16

Open
LeoXing1996 opened this issue Jun 11, 2020 · 1 comment

Comments

@LeoXing1996
Copy link

Thanks for this great work, however, I still have some questions about training strategy and loss term.

The training code of appearance generative network in train.sh is as below:

python train.py --train_mode appearance --batch_size_t 16 --save_time --suffix refactor --val_freq 20 --save_epoch_freq 1 --joint_all --joint_parse_loss

  1. This command uses --joint_parse_loss option instead of --mask_tvloss, and total variation regularization term in Equation 5 is not optimized.
  2. This command directly uses --joint_all option, which should be only used after the training of the face refinement network.
@AIprogrammer
Copy link
Collaborator

Hi, the tv loss doesn't make so many differences, if you want to use this criterion, just set a small loss weight. For joint training, using joint loss in appearance generation part maybe better, but it's not tested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants