Hi Peter,
Thanks for your response.
The two models are https://github.com/intel-isl/MiDaS 5 and https://github.com/NVlabs/planercnn 1, here I am getting no results by doing model.encoder, so I guess they are not defined properly.
I am trying to extract layers using model.children() and slice the list to separate the encoder and decoder part. I am planning to add weights in the layers by using state dict. Is this the right way to extract the layers and transfer learn. Or I have to dig deep into underlying code and then generate the layers?