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)

5 visualizaciones (últimos 30 días)
无论什么神经网络模型的示例,只要运行到了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.

Respuesta aceptada

Krishna
Krishna el 8 de Jul. de 2024
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 comentario
L
L el 9 de Jul. de 2024
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by