draaken0:

I just dont want to retrain thr model, it takes a lot of time but i will have to.


The problem is that a detecto Model isn’t a PyTorch model, so there is a mismatch there.
But you could just grab the model._model if you wanted to. That is a PyTorch model.