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
train dataset questions #57
Comments
Hi, thanks for your attention. For your questions: Q2: so the size of image must be 512,? Q2: and the image need to do other operations, like change the color and so on ? |
@luoww1992 would you be able to share your successful training approach? did you write a dataloader and a trimap creator? |
i am making trimap dataset,it will spend some times ....... i am organizing the code . |
@ZHKKKe , i am training dataset for videoMatting , but the loss is very large, and the detail_loss is 0 ,no change.
the loss show
|
@ZHKKKe , |
@luoww1992 Hi, thanks for your attention. For your questions: Q1: the loss is large Q2: the detail_loss is 0 You can refer to the latest comments for more information:
|
@ZHKKKe
my input images is 1024*576. |
Please change the channel of |
@luoww1992 你训练成功了嘛? |
@luoww1992 where you able to train it ? |
I have made the train dataset with 80k images, i am training it, i run it for 4 days, but it is too slow |
@luoww1992 that's great ... can you share the dataset? |
sorry, i can not share it before i get the authorization, |
Could you share the complete code that can be trained correctly? And I would appreciate it if you could send me a few training samples(10-20 is enough). My email is wyking9@163.com, thanks a lot! |
Hey @luoww1992 just share the complete trainable code.
@luoww1992 for me too shaikhaftab139@gmail.com, thanks |
i have updated it, please pay attention to the notes in func. |
please share me the complete code that can be trained correctly, many thanks ! |
i have added it in trainDefault.txt
----- 原始邮件 -----
发件人:Shu-Hao Ye <notifications@github.com>
收件人:ZHKKKe/MODNet <MODNet@noreply.github.com>
抄送人:luoww1992 <luoww1992@sina.com>, Mention <mention@noreply.github.com>
主题:Re: [ZHKKKe/MODNet] train dataset questions (#57)
日期:2021年02月25日 15点08分
@luoww1992 that's great ... can you share the dataset?
sorry, i can not share it before i get the authorization,
there are some personal images.
you can try to make it by alpha images
please share me the complete code that can be trained correctly, many thanks !
mail: andy910389@gmail.com
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you very much! I will read the code carefully, hope it will work! |
now i am runing two types model, |
@luoww1992 |
|
@luoww1992 |
@ZHKKKe |
@ZHKKKe thanks a lot! |
@luoww1992: can you share trainDefault.txt code with SOC. Thanks a lot! |
Can it be used for other task, such as sky seg? want to sement the tree more accurately. @luoww1992 @ZHKKKe Could you pls give me some advice? |
@dzyjjpy Q2: However, the inference result looks really bad. |
|
@ZHKKKe can you explain for me 2 question:
|
Hi, Thanks for your sharing. I have a question that my detail loss is still 0 although I have made the value of trimap to be 0, 0.5 or 1, and the value of gr_matte to be between [0, 1]. Which point should I check? Thanks a lot! |
@dzyjjpy |
@ZHKKKe Thanks and I have solved it. That is my error that I generated the trimap with 128 / 255 which is not equal to 0.5 |
|
Could you share the complete code that can be trained correctly? And I would appreciate it. My email is 755976168@qq.com, thanks a lot! |
look up, there is a link trainDefault.txt. |
|
@luoww1992 |
@upperblacksmith , i save two models at first, then i test them, i can't find the different between the models. |
@upperblacksmith , Q2: the detail_loss is 0 You can refer to the latest comments for more information:
|
@upperblacksmith , |
@ZHKKKe |
|
@upperblacksmith |
@dzyjjpy 问一下这个天空和树枝的分割的效果,有没有改善? |
@luoww1992 Alpha image of your dataset means right or left figure? |
alpha is right image,
left is fgr image
----- 原始邮件 -----
发件人:ntquyen11 ***@***.***>
收件人:ZHKKKe/MODNet ***@***.***>
抄送人:luoww1992 ***@***.***>, Mention ***@***.***>
主题:Re: [ZHKKKe/MODNet] train dataset questions (#57)
日期:2021年05月28日 22点26分
@luoww1992 Alpha image of your dataset means right or left figure?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@ZHKKKe For the question 3, if i rescale the foreground to 512x640, then random crop from that, then composite it with center crop of one background image. if foreground is rescaled to 512x400, then paste it to center of the center crop of one background image. Is it right? thanks. |
@tengshaofeng |
Thanks for your reply. |
@tengshaofeng May you share your dataloader code? |
class ImagesDataset(Dataset):
|
@tengshaofeng Thank you very much for the dataloader code. In |
i am making the train dataset, it needs 3 folders--original, trimap, matter.
so the size of image must be 512,?
and the image need to do other operations, like change the color and so on ?
what else should I pay attention to do in the dataset ?
The text was updated successfully, but these errors were encountered: