Closed shubham166 closed 1 year ago
When I try to save the trained model i.e. full model using the following command -
torch.save(model, "<path>")
It throws this error
AttributeError: Can't pickle local object 'Trainer._prepare_model.<locals>.MTLmodel'
I suggest using LibMTL v1.1.6 which can save the best model automatically.
Closed as no further updates.
When I try to save the trained model i.e. full model using the following command -
torch.save(model, "<path>")
It throws this error
AttributeError: Can't pickle local object 'Trainer._prepare_model.<locals>.MTLmodel'