I think there are a few things we need to check:


Is libtorch built with _GLIBCXX_USE_CXX11_ABI=1? (i.e. did you see -- Determined _GLIBCXX_USE_CXX11_ABI=1 in the libtorch build log?)


Are you building vehicle_detection with the same compiler and with _GLIBCXX_USE_CXX11_ABI=1?