Clear Filters
Clear Filters

GPU Coder for jetson nano

2 views (last 30 days)
Yazan
Yazan on 28 Sep 2022
Answered: Ram Kokku on 25 Oct 2022
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

Answers (1)

Ram Kokku
Ram Kokku on 25 Oct 2022
Hi Yazan,
Thanks for reaching out. We have many examples showcasing deep learning deployment on jetson. please take a look
Jetson example:
Mobilenetv2 example:
Link to the example page:

Categories

Find more on Deep Learning with GPU Coder in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!