I am new to machine learning. Need help. I have been looking for a solution to update the existing detectron2 model_final.pth file with new annotations, can you guys suggest a solution.
As i am new to ML, haven't tried yet, exploring it.
.pth
file can be updated using torch
. The code will be like below:
import torch
old_model = torch.load("model_final.pth")
new_model = update_annotations(old_model) #update your .pth file here
torch.save(new_model,"model_final.pth")