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

How to select pretrained G epoch when training the full model #6

Open
OwalnutO opened this issue Jul 30, 2019 · 1 comment
Open

How to select pretrained G epoch when training the full model #6

OwalnutO opened this issue Jul 30, 2019 · 1 comment

Comments

@OwalnutO
Copy link

Thanks for your brilliant code.

When I try to train a full model as you suggested:
"# full (need a pretrained pose transfer model without pixel warping)"

How do I select the pre-trained G epoch? I the REDME.md, you selected the 8-th epoch.
"--pretrained_G_id id_pose_4 --pretrained_G_epoch 8"

But according to my results obtained after training the model without pixel warp, the best model is 5-th epoch, and the visualization results suggest that the results from last epoch are more better than previous models. So, with what metric do you select the pre-trained model?

@ly015
Copy link
Owner

ly015 commented Jul 30, 2019

Here we don't have a specific metric for selecting the pretrained model. Usually, we simply compare the visualized results after each epoch and choose the visually best one. We observed that as the training progresses, the L1 term and perceptual term will conquer the loss. So it may be helpful to track the gradient information and stop training when the gradient of the adversarial loss vanishes.

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