matlab运行这行net =trainNetw​ork(p_trai​n,t_train,​layers,opt​ions)就闪退(m​atlab runs this line net =trainNetw​ork(p_trai​n,t_train,​layers,opt​ions) and flashes back)

1 回表示 (過去 30 日間)
无论什么神经网络模型的示例,只要运行到了net =trainNetwork(p_train,t_train,layers,options)这行就闪退是怎么回事,没有任何报错提示就退出了
No matter what neural network model example, as soon as I run the line net =trainNetwork(p_train,t_train,layers,options), it flashes back, and exits without any error message.
  1 件のコメント
Sanjana
Sanjana 2024 年 6 月 18 日
Hi,
Can you share the data , training options and network to investigate more?

サインインしてコメントする。

採用された回答

Krishna
Krishna 2024 年 7 月 8 日
Hi,
Based on the information you provided, it appears that MATLAB crashes when you use the 'trainNetwork' function. Please check out this MATLAB answer to see if it can help:
Also try the 'trainnet' function once, which is an alternative to 'trainNetwork' and see if the same thing is happening. For more information please look at the following documentation,
Please provide more details regarding the data, layers, and options you have selected for neural network training to receive better assistance. Additionally, refer to the following MATLAB answer to learn more about how to ask questions effectively in MATLAB Answers,
Hope this helps.
  1 件のコメント
L
L 2024 年 7 月 9 日
Thank you very much for your answer. This may be due to a bug in the MATLAB program I installed. I tried to temporarily disable the GPU, and the line net=trainNetwork (p-train, t-train, layers, options) ran smoothly. However, when it reached this line, t-sim1=predict (net, p-train), it crashed again. The same code can run smoothly on another computer

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by