Keras failed to import on Virutal Machine in Matlab, but I followed same procedure on my local machine and it worked on my local machine
2 次查看(过去 30 天)
显示 更早的评论
I followed the same procedure on the virtual machine on azure as I did on my local machine. The procedure worked on my local machine. I have receviving this following error but I installed the same thigns I did on my local computer. Do I have to change my procedure if I am using a virtual machine on azure. If so, then how?

0 个评论
回答(1 个)
colordepth
2025-3-10
This is likely due to a version difference of Keras/Tensorflow between your local machine and your Azure machine. To ensure consistency of this behaviour between your 2 machines, please verify that your cloud machine installs the same version of Keras and Tensorflow as your local machine does.
You can refer to the python library version considerations for "importKerasNetwork" here: https://www.mathworks.com/help/deeplearning/ref/importkerasnetwork.html#mw_a7f149fe-5428-422d-a3c2-3673c6e17756.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!