@ptrblck Thank you very much. I made it yesterday, based on the above example.
And a little question: If I will make a classification task, based on 2-3 pre-trained segmentation network, should I train again a whole model from scratch?