I guess you should try to rename the variable model as densenet121. As far as I can see if the state dict contains module.childrens it should say module.model.childrens instead of module.densenet121
This indicates they called the variable densenet121