License Error only while Traning Neural Network

1 view (last 30 days)
EDIT: I solved it. Turns out running as root is necessary for some reason
When training an RCNN or FastRCNN I get the following error:
Warning: An error occurred while using rcnnObjectDetector.proposeRegions to process /data/datasets/image.jpg:
im2uint8 requires a Image_Toolbox license
However, I have a license
license('test', 'Image_Toolbox')
ans = 1
and if I call checkout with the same function it succeeds. If I call the im2uint8 on the command windows, it works fine. Only inside the training function call does it have an issue.
From ver:
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1323502 (R2020a)
MATLAB License Number: 1XXXXXXXXX
Operating System: Linux 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64
Java Version: Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
-----------------------------------------------------------------------------------------------------
MATLAB Version 9.8 (R2020a)
Simulink Version 10.1 (R2020a)
Aerospace Blockset Version 4.3 (R2020a)
Aerospace Toolbox Version 3.3 (R2020a)
Bioinformatics Toolbox Version 4.14 (R2020a)
Communications Toolbox Version 7.3 (R2020a)
Computer Vision Toolbox Version 9.2 (R2020a)
Control System Toolbox Version 10.8 (R2020a)
Curve Fitting Toolbox Version 3.5.11 (R2020a)
DSP System Toolbox Version 9.10 (R2020a)
Database Toolbox Version 9.2.1 (R2020a)
Datafeed Toolbox Version 5.9.1 (R2020a)
Deep Learning Toolbox Version 14.0 (R2020a)
Econometrics Toolbox Version 5.4 (R2020a)
Embedded Coder Version 7.4 (R2020a)
Financial Instruments Toolbox Version 3.0 (R2020a)
Financial Toolbox Version 5.15 (R2020a)
Fuzzy Logic Toolbox Version 2.7 (R2020a)
Global Optimization Toolbox Version 4.3 (R2020a)
Image Acquisition Toolbox Version 6.2 (R2020a)
Image Processing Toolbox Version 11.1 (R2020a)
Instrument Control Toolbox Version 4.2 (R2020a)
LTE Toolbox Version 3.3 (R2020a)
MATLAB Coder Version 5.0 (R2020a)
MATLAB Compiler Version 8.0 (R2020a)
MATLAB Compiler SDK Version 6.8 (R2020a)
Mapping Toolbox Version 4.10 (R2020a)
Model Predictive Control Toolbox Version 6.4 (R2020a)
Navigation Toolbox Version 1.1 (R2020a)
Optimization Toolbox Version 8.5 (R2020a)
Parallel Computing Toolbox Version 7.2 (R2020a)
Partial Differential Equation Toolbox Version 3.4 (R2020a)
ROS Toolbox Version 1.1 (R2020a)
Robotics System Toolbox Version 3.1 (R2020a)
Robust Control Toolbox Version 6.8 (R2020a)
Signal Processing Toolbox Version 8.4 (R2020a)
Simscape Version 4.8 (R2020a)
Simscape Multibody Version 7.1 (R2020a)
Simulink 3D Animation Version 9.0 (R2020a)
Simulink Coder Version 9.3 (R2020a)
Simulink Control Design Version 5.5 (R2020a)
Statistics and Machine Learning Toolbox Version 11.7 (R2020a)
Symbolic Math Toolbox Version 8.5 (R2020a)
System Identification Toolbox Version 9.12 (R2020a)
Text Analytics Toolbox Version 1.5 (R2020a)
Wavelet Toolbox Version 5.4 (R2020a)
  2 Comments
Raymond Norris
Raymond Norris on 1 Aug 2020
Hi, please contact Technical Support (support@mathworks.com) to help resolve this. You shouldn't need to submit the job as root (and probably don't want to for several reasons).
Walter Roberson
Walter Roberson on 2 Aug 2020
Is your default profile for Parallel Computing Toolbox connected to a cluster ?

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!