[Python] Inference on a model

Discussão em 'Python' iniciado por Stack, Maio 15, 2025.

  1. Stack

    Stack Membro Participativo

    I was using an anomaly detection framework called GLASS ( https://github.com/cqylunlun/GLASS ).

    After I've trained on my own dataset, GLASS returns the weights of the best epoch on a .pth file.

    At this point, I'd like to perform the inference on the trained model, but before I'd load the trained model and I assume using the .pth file, but I was reading I also need to build again the GLASS class which is also based on a backbone like resnet.

    Can any help me further?

    Continue reading...

Compartilhe esta Página