Semantic_Human_Matting icon indicating copy to clipboard operation
Semantic_Human_Matting copied to clipboard

M-net pre-train

Open ulnay opened this issue 5 years ago • 2 comments

First of all, thank you very much for implementation and sharing. I just got one question, in the paper, section 4.5 , they've mentioned they also have M-net pretrain, in your implementation, how can we pre-train the M-net? Thank you!

ulnay avatar May 28 '19 07:05 ulnay

the same question

Jason-xin avatar Sep 02 '19 07:09 Jason-xin

  1. T-Net pre-train: the model shoule only include the t-net part, and you can only train the model with L_t loss.
  2. M-Net pretrain: the model shoule only include the m-net part, and the input must include 6 mixed channels including 3-channel image and 3-channel trimap(fg, bg, unsure), and feed them to m-net. L_alpha and L_composition losses are included here.
  3. Fine tune: include both parts, with the combined two weights above.

rainsun1 avatar Oct 19 '19 12:10 rainsun1