matlab运行这行net =trainNetwork(p_train,t_train,layers,options)就闪退(matlab runs this line net =trainNetwork(p_train,t_train,layers,options) and flashes back)
2 views (last 30 days)
Show older comments
无论什么神经网络模型的示例,只要运行到了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 Comment
Sanjana
on 18 Jun 2024
Hi,
Can you share the data , training options and network to investigate more?
Accepted Answer
Krishna
on 8 Jul 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.
More Answers (0)
See Also
Categories
Find more on Image Data Workflows in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!