Reputation: 1527
I currently have a Torchscript model I load via torch.jit.load
. I would like to take some data I have and train on top of these weights, however I cannot find out how to train a serialised torchscript model.
Upvotes: 0
Views: 3290
Reputation: 1527
Turns out that the returned ScriptModule
does actually support training: https://pytorch.org/docs/stable/generated/torch.jit.ScriptModule.html#torch.jit.ScriptModule.train
Upvotes: 1