Support package for deep learning not working in compiled program

조회 수: 1 (최근 30일)
Josh
Josh 2020년 3월 19일
답변: Steven Lord 2020년 7월 9일
Hi,
I'm using deploytool to create an executable for a script that creates a deep learning model from images. It's based upon the vgg16 model, and when run from matlab, works fine as vgg16.mlpkginstall has been run and the package installed. When compiling my program I include this:
But the program still runs into an error when looking for vgg16:
Any help here would be greatly appreciated, thank you.
  댓글 수: 1
Josh
Josh 2020년 3월 20일
Sorry just wanted to bump this as it's buried with no views. Hope that's not against the rules.

댓글을 달려면 로그인하십시오.

답변 (2개)

Bhargavi Maganuru
Bhargavi Maganuru 2020년 7월 9일
Hi,
Makesure you install support package from Add-on Explorer.
Type vgg16 at the command line.
If Deep Learning Toolbox Model for VGG-16 Network support package is not installed, then the function provides a link to the required support package in the Add-On Explorer. To install the support package, click the link, and then click Install. Check that the installation is successful by typing vgg16 at the command line.

Steven Lord
Steven Lord 2020년 7월 9일
How are you creating the VGG-16 network in your standalone application? If you're calling load on a MAT-file to read the object into the workspace see this documentation page for how to handle the MAT-file and the Tip in the section "Fixing Callback Problems: Missing Functions" on this documentation page for how to ensure the definition of the class that will be created when you load the data is included in the application.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by