Looks good during training but not after converting.

Getting errors or found a bug when converting faces from a trained model? Post about them here


Forum rules

Read the FAQs and search the forum before posting a new topic.

This forum is for reporting errors with the Convert process. If you want to get tips, or better understand the Convert process, then you should look in the Convert Discussion forum.

Please mark any answers that fixed your problems so others can find the solutions.

Locked
User avatar
rolnor
Posts: 62
Joined: Tue Feb 23, 2021 10:09 am
Been thanked: 3 times

Looks good during training but not after converting.

Post by rolnor »

I have a problem, my result after converting is not so good after 1000000 iterations. The strange thing is that, during the training, it looks really good in my monitor. What could be happening? One thing that is bad in after converting is that the mask does not seem to cover the face properly, the lower lip looks like the original, its not changed. The eyes look halfgood though.


User avatar
bryanlyon
Site Admin
Posts: 634
Joined: Fri Jul 12, 2019 12:49 am
Answers: 41
Location: San Francisco
Has thanked: 3 times
Been thanked: 161 times
Contact:

Re: Looks good during training but not after converting.

Post by bryanlyon »

Try the preview tool, it helps you see the results of your convert settings on the video itself.


User avatar
rolnor
Posts: 62
Joined: Tue Feb 23, 2021 10:09 am
Been thanked: 3 times

Re: Looks good during training but not after converting.

Post by rolnor »

I do use the preview tool, that looks bad to. I try to change the parameters as well but very little is changed and it does not improve.


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Looks good during training but not after converting.

Post by torzdf »

Preview image is tiny, convert can be huge.

Save a copy of the preview image during training and zoom into it. It should give you a better idea of why you are seeing the differences you are.

My word is final


User avatar
rolnor
Posts: 62
Joined: Tue Feb 23, 2021 10:09 am
Been thanked: 3 times

Re: Looks good during training but not after converting.

Post by rolnor »

I can clearly see on the training image that the lower lip looks much thinner, like it should. On the convert its just as thick as on the original face. Also overall the training image looks really promising even considering its so small. I should also say that if I swap the model its really OK.


User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Looks good during training but not after converting.

Post by torzdf »

The training previews are generated in exactly the same way as the converted image.

My word is final


User avatar
rolnor
Posts: 62
Joined: Tue Feb 23, 2021 10:09 am
Been thanked: 3 times

Re: Looks good during training but not after converting.

Post by rolnor »

Thats my thought exactly but the result is not the same. I will do some more work and if I dont get it right I can try to post some pictures to show how it looks. I have a 32" monitor so I se clearly how it looks after/during traning. Can it be the alignements that somehow is not the same? Its a mystery.


User avatar
waseemmd38
Posts: 14
Joined: Thu Aug 13, 2020 5:50 am

While training in preview is good but while converting it blured

Post by waseemmd38 »

While training it looks good while converting it become blur.


User avatar
mrmish
Posts: 2
Joined: Wed May 19, 2021 9:02 pm
Has thanked: 1 time

Re: Looks good during training but not after converting.

Post by mrmish »

I'm having a similar issue after updating. Training preview looks fine

Image
But when I use the preview tool or convert the mask is smaller than before

Here's the preview tool with manual color brightness turned all the way down(VGG clear mask, this is what I use with training)
Image

Extended mask
Image

I think something happened with the alignments and conversion. The masks look correct when I look at them with the manual tool

VGG clear
Image

Extended
Image

Do you know if there is a way I can undo the latest update(s) to get this working again with my data? I haven't tried making a new model on the latest update but have hundreds of hours invested in a few training models so I don't want to start over if this is an issue with when the model was created.

Last edited by mrmish on Wed May 19, 2021 10:52 pm, edited 1 time in total.

User avatar
torzdf
Posts: 1495
Joined: Fri Jul 12, 2019 12:53 am
Answers: 127
Has thanked: 51 times
Been thanked: 287 times

Re: Looks good during training but not after converting.

Post by torzdf »

Thanks for the heads up. This should be fixed in latest commit.

My word is final


User avatar
mrmish
Posts: 2
Joined: Wed May 19, 2021 9:02 pm
Has thanked: 1 time

Re: Looks good during training but not after converting.

Post by mrmish »

Thanks!

FYI I started up 2 new models and the face centering appears to be working correctly but the new legacy model had the same issue. So it seems to only be with conversion on models with legacy centering.


Locked