Matlab internal error running documentation example

12 visualizzazioni (ultimi 30 giorni)
When I do "Try This Example" for sequence-to-sequence classification using 1-d convolutions documentation, I hit an internal error after line 119. Tried two separate days with same error. Is this a known issue? Seems like documentation code should run without any errors if "Try This Example" is an option.
  5 Commenti
David Willingham
David Willingham il 21 Set 2021
Hi Luke,
The error is likely due to their not being licenses on the machine.
David
Luke Hubbard
Luke Hubbard il 21 Set 2021
So even from web browser documentation, some parts of some examples won't run without an active license on the computer? It stops on the second iteration of a for loop on line 196. So it does fine for k = 1 and then hits the error when k = 2. At k = 2, it hits an error inside the residualBlock function when trying to run dlconv() on line 236 of the script.
Opening dlconv(), it spawns the error on line 230.
The inputs here at line 230 when k=2 in the %Residual blocks for loop of the script (line 196) are as follows:
X: 175x1x64480 dlarray
weights: 4-D deep.internal.recording.RecordingArray
bias: 1x1x175 deep.internal.recording.RecordingArray
internalArgs: 1x4 cell array =
{[1 1]} {[2 1]} {[4 0 0 0]} {1x1 nnet.internal.cnn.layer.padding.NoOpPaddingStrategy}
numConvolutionDims: 1x1 double = 1
numSpatialDimsInX: 1x1 double = 0
numSpatialDimsToConvolve: 1x1 double = 0
convoleOverTime: logical = 1
nbGroups: 1x1 double = 1
If it is a licensing issue, I am surprised that it takes until the second iteration of using a function to trigger the error. If it works for you on your computer, I suggest trying the online documentation route. This isn't a big deal to me now since I am back where I can run it on my offline computer using the documentation example that resides on my computer. It was just an obstacle to being productive when I was away from that computer and trying to run through the example online. Others may run into this issue at some point, so I thought it would be beneficial to bring it up.

Accedi per commentare.

Risposte (1)

David Willingham
David Willingham il 20 Set 2021
Hi Luke,
The example runs fine on my machine running R2021a. What version of MATLAB are you using? (>> ver)
David

Categorie

Scopri di più su Install Products in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by