how to use it with libtorch
Closed this issue · 1 comments
Y-pandaman commented
hello, I want to use this model with libtorch, can you teach me how to convert .pth.tar file to .pt file?
eric-yyjau commented
Hi @Y-pandaman, I think you can write a function to load the model and save it as .pt file.
https://pytorch.org/tutorials/beginner/saving_loading_models.html