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

조회 수: 4 (최근 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?

답변 (1개)

colordepth
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.

카테고리

Help CenterFile 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!

Translated by