Covert VGG16 model ONNX to dets
Mix.install([
{:axon_onnx, github: "elixir-nx/axon_onnx"}
])
Section
{model, params} = AxonOnnx.import("/data/vgg16.onnx")
:dets.open_file("vgg16", type: :bag, file: '/data/vgg16.dets')
:dets.insert("vgg16", {1, {model, params}})
:dets.sync("vgg16")
:dets.stop()