Hello everyone,
when we want to generate a Code, we should choose a pretrained net like mobilenetv2() and have an entry-point function for this net, type(“mobilenetv2_predict.m”):
% Copyright 2017-2019 The MathWorks, Inc.
function out = mobilenetv2_predict(in)
%#codegen
persistent mynet;
if isempty(mynet)
mynet = coder.loadDeepLearningNetwork(‘mobilenetv2’,‘mobilenetv2’);
end
% pass in input
out = mynet.predict(in);
My question is: what if i train a standalone network for my project?
How can i put it in this function to deploy it on Jetson Nano?
Thank you very much