検出器の学習を行って​いるとクラッシュする​のですが、どう対処す​ればいいですか?

検出器の学習を行っているとクラッシュしてMATLABが落ちるのですが、どう対処すればいいですか?
クラッシュログは以下に記載します。
MATLAB Log File: C:\Users\ADMINI~1\AppData\Local\Temp\matlab_crash_dump.15776-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Access violation detected at 2023-12-22 16:39:15 +0900
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized hardware
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce GTX 1650 Version 31.0.15.2741 (2022-11-30)
Interpreter 0 : Executing request: 4D61746C6162526571756573742E637070
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 11654038
MATLAB Root : C:\Program Files\MATLAB\R2023b
MATLAB Version : 23.2.0.2428915 (R2023b) Update 4
OpenGL : hardware
Operating System : Microsoft Windows 11 Pro
Process ID : 15776
Processor ID : x86 Family 6 Model 158 Stepping 13, GenuineIntel
Session Key : af392258-aaa4-4acb-b3f3-2c9281646b77
Window System : Version 10.0 (Build 22000)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: 'LXE compiler thread' id 18696
Register State (from fault):
RAX = 00000002fffffffd RBX = 00000014be5fd400
RCX = 00000000ffffffff RDX = 00000014be5fd400
RSP = 00000014be5fd380 RBP = 0000000080000000
RSI = 000001e043a15bc8 RDI = 000001e022ab51c0
R8 = 0000000000000000 R9 = 00000014be5fd4c0
R10 = 000001e043d1e468 R11 = 000001e03cbb6e80
R12 = 00000014be5fd4c0 R13 = 0000000000000000
R14 = 0000000000000000 R15 = 0000000080000000
RIP = 00007ffe57de6aee EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffe57de6aee C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+34171630 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+18225166
[ 1] 0x00007ffe5770d9e2 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26991074 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+11044610
[ 2] 0x00007ffe5770de35 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26992181 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+11045717
[ 3] 0x00007ffe577084a0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26969248 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+11022784
[ 4] 0x00007ffe577086fc C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26969852 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+11023388
[ 5] 0x00007ffe5770da9e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26991262 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+11044798
[ 6] 0x00007ffe57656f33 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+26242867 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+10296403
[ 7] 0x00007ffe57ff5ace C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+36330190 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+20383726
[ 8] 0x00007ffe57ff5d03 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+36330755 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+20384291
[ 9] 0x00007ffe57ff5f4c C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+36331340 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+20384876
[ 10] 0x00007ffe57ff57f0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+36329456 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+20382992
[ 11] 0x00007ffe56fcc387 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19383175 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03436711
[ 12] 0x00007ffe56fcb583 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19379587 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03433123
[ 13] 0x00007ffe56fcaf76 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19378038 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03431574
[ 14] 0x00007ffe56fc7e7b C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19365499 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03419035
[ 15] 0x00007ffe56fc8296 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19366550 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03420086
[ 16] 0x00007ffe56fb62be C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19292862 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03346398
[ 17] 0x00007ffe56fc2369 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19342185 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03395721
[ 18] 0x00007ffe56fbf860 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19331168 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03384704
[ 19] 0x00007ffe56fc14c6 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19338438 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03391974
[ 20] 0x00007ffe56fbf55f C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19330399 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03383935
[ 21] 0x00007ffe56fc6461 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19358817 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03412353
[ 22] 0x00007ffe56fc5afe C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19356414 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03409950
[ 23] 0x00007ffe56fc5ea0 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19357344 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03410880
[ 24] 0x00007ffe56fc61ab C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+19358123 MathWorks::lxe::LXEConstants::InitializeElementwiseMachinePrimitiveConstants_9+03411659
[ 25] 0x00007ffe5613a71e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04106014 MathWorks::lxe::is_xvalue+00049454
[ 26] 0x00007ffe5613783c C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04094012 MathWorks::lxe::is_xvalue+00037452
[ 27] 0x00007ffe561f0a92 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+04852370 MathWorks::lxe::is_xvalue+00795810
[ 28] 0x00007ffe55fd5f68 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+02645864 MathWorks::lxe::LXEConstants::IsIfElse+00167096
[ 29] 0x00007ffe55fd5eb5 C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+02645685 MathWorks::lxe::LXEConstants::IsIfElse+00166917
[ 30] 0x00007ffe55fd364e C:\Program Files\MATLAB\R2023b\bin\win64\m_lxe.dll+02635342 MathWorks::lxe::LXEConstants::IsIfElse+00156574
[ 31] 0x00007ffee82e6c0c C:\windows\System32\ucrtbase.dll+00158732 recalloc+00000092
[ 32] 0x00007ffee9a753e0 C:\windows\System32\KERNEL32.DLL+00087008 BaseThreadInitThunk+00000016
[ 33] 0x00007ffeead0485b C:\windows\SYSTEM32\ntdll.dll+00018523 RtlUserThreadStart+00000043

6 Comments

Kojiro Saito
Kojiro Saito on 25 Dec 2023
GPU 計算の要件にある2点の確認をお願いします。
要件:
  • MATLAB® では、Compute Capability 3.5 9.x の NVIDIA® GPU アーキテクチャをサポートしています。
  • 最新のグラフィックス ドライバーをインストールしてください。ご使用の GPU のドライバーを、NVIDIA Driver Downloads からダウンロードします。グラフィックス ドライバーのバージョンを確認するには、関数 gpuDevice を使用します。
まずは下記のコマンドでGPUのドライバーが認識されているかご確認ください。
gpuDevice
輝
on 25 Dec 2023
ご回答ありがとうございます。
gpuDevice
を実行したところ、
ans =
CUDADevice のプロパティ:
Name: 'NVIDIA GeForce GTX 1650'
Index: 1
ComputeCapability: '7.5'
SupportsDouble: 1
GraphicsDriverVersion: '546.33'
DriverModel: 'WDDM'
ToolkitVersion: 11.8000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152 (49.15 KB)
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 4294639616 (4.29 GB)
AvailableMemory: 3469373440 (3.47 GB)
CachePolicy: 'balanced'
MultiprocessorCount: 14
ClockRateKHz: 1620000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
CanMapHostMemory: 1
DeviceSupported: 1
DeviceAvailable: 1
DeviceSelected: 1
このように表示されました。
Kojiro Saito
Kojiro Saito on 25 Dec 2023
グラフィックスドライバーは現時点で最新の546.33がインストールされていますね。ComputeCapabilityの値も問題ありません。
クラッシュダンプファイルにあるLXEはLanguage Execution Engineの略なので、検出器の処理を実行したときのMATLABエンジンの内部でのエラーなのですが、調べてみたところ同様の情報はありませんでした。
エラー内容が違うケースにはなりますが、こちらの回答にある「Alternate workaround:」を試してみてはいかがでしょうか?
輝
on 25 Dec 2023
ご回答ありがとうございます。「Alternate workaround:」を試しているのですが、
3. Under the Global Settings panel, click on the Global Presets drop-down list to choose "Dassault Systems - CATIA compatible" profile
の部分が何をすればよいのか分からないです。ご教授お願い致します。
Kojiro Saito
Kojiro Saito on 25 Dec 2023
NVIDIAの日本語のヘルプページがこちらにありますが、参考になりますでしょうか。
輝
on 27 Dec 2023
ご回答ありがとうございます。
私のPCのNVIDIAコントロールパネルには、グローバルプリセットリストが表示されていないので、Alternate workaroundを試すことができないです。

Sign in to comment.

Answers (0)

Products

Release

R2023b

Tags

Asked:

輝
on 22 Dec 2023

Commented:

輝
on 27 Dec 2023

Community Treasure Hunt

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

Start Hunting!