Hi @Giuseppe
Let’s say supermodel is the model containing the two sub-models Model1 and Model2 and you only want to train Model2. You should be able to achieve it by adding this before training:
for param in supermodel.Model1.parameters():
    param.requires_grad = False