Matlab internal error running documentation example

조회 수: 8 (최근 30일)
Luke Hubbard
Luke Hubbard 2021년 9월 16일
댓글: Luke Hubbard 2021년 9월 21일
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
David Willingham
David Willingham 2021년 9월 21일
Hi Luke,
The error is likely due to their not being licenses on the machine.
David
Luke Hubbard
Luke Hubbard 2021년 9월 21일
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.

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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by