MTL Model
mtl_model
mtl_model.mtl_model()
Parent class for customized multi-task model.
function
compute_depth()
should be called at the end of the__init__()
for the child model class inherited frommtl_model
. See example inmobilenetv2.py
.policy_reg()
will be called automatically when runningalter_train_with_reg()
inTrainer
.- Note: If choose to not inherit from
mtl_model
, please runalter_train()
inTrainer
at the second alter_train stage.