Mobilenet with Libtorch
Loading...
Searching...
No Matches
MobileNetV2 libtorch

C++ version of MobileNetV2 using libtorch which can import the pre-trained weights from torchvision.

Importing the weights instead of using the JIT has the advantage that one can do transfer learning also on an edge device, for example, to adapt to different situations locally.

This implementation follows very closely the torchvision implementation of mobilenet v2.

Mobilenet is described here.

Then simply include mobilenet_v2.h into your own project.

Credit

(C) 2025 Bernd Porr, GPLv3