Run keras model (.h5) on Windows 102019 Community Moderator Electionkeras prediction. 'NoneType' object has no attribute 'predict'Is there a way to run Python on Android?How do I install pip on Windows?How to change Keras backend (where's the json file)?ModuleNotFoundError: No module named ‘tensorflow’ in anaconda python 3.6.3Unable to install fancyimpute for use in JupyterImporting Keras raises numpy exceptionsWhen importing tensorflow, I get the following error: No module named 'numpy.core._multiarray_umath'Tensorflow failure with Python Anaconda 3.7.1Numpy error when importing along with tensorflowHaving trouble installing and importing tensorflow in Python 3.6

Fewest number of steps to reach 200 using special calculator

Writing in a Christian voice

Matrix using tikz package

What does "^L" mean in C?

My friend is being a hypocrite

How to get the n-th line after a grepped one?

Does .bashrc contain syntax errors?

A Ri-diddley-iley Riddle

Is there a term for accumulated dirt on the outside of your hands and feet?

Light propagating through a sound wave

Print a physical multiplication table

Does the attack bonus from a Masterwork weapon stack with the attack bonus from Masterwork ammunition?

Brake pads destroying wheels

What favor did Moody owe Dumbledore?

Calculate the frequency of characters in a string

Describing a chess game in a novel

How can my new character avoid being a role-playing handicap to the party?

How are passwords stolen from companies if they only store hashes?

Can other pieces capture a threatening piece and prevent a checkmate?

I got the following comment from a reputed math journal. What does it mean?

How do hiring committees for research positions view getting "scooped"?

How can an organ that provides biological immortality be unable to regenerate?

Bash - pair each line of file

Do US professors/group leaders only get a salary, but no group budget?



Run keras model (.h5) on Windows 10



2019 Community Moderator Electionkeras prediction. 'NoneType' object has no attribute 'predict'Is there a way to run Python on Android?How do I install pip on Windows?How to change Keras backend (where's the json file)?ModuleNotFoundError: No module named ‘tensorflow’ in anaconda python 3.6.3Unable to install fancyimpute for use in JupyterImporting Keras raises numpy exceptionsWhen importing tensorflow, I get the following error: No module named 'numpy.core._multiarray_umath'Tensorflow failure with Python Anaconda 3.7.1Numpy error when importing along with tensorflowHaving trouble installing and importing tensorflow in Python 3.6










0















I trained a model in keras on a Linux platform and saved the model with a model.save_weights("demandFinal.h5")



And then I was hoping to take my complete saved model to IPython on my Windows 10 laptop running Anaconda 3.7 and use it with:



from keras.models import load_model

# load weights into new model
loaded_model.load_weights("demandFinal.h5")
print("Loaded model from disk")


But I am running into some issues.. First I forgot Keras wasn't installed so I did a !pip install keras no problems. Then !pip install Tensorflow whether that was needed or not..



Now I have a numpy error:



ImportError: numpy.core.umath failed to import



After some research online, I did a pip install -U numpy which installed that package... But I still have the same issue.. When I run the load_model in IPython anaconda 3.7, this will cause the kernel to crash/restart. Full traceback:



C:UsersbbartlingDesktopEC

Using TensorFlow backend.

---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'


---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
ImportError: numpy.core.multiarray failed to import

The above exception was the direct cause of the following exception:

SystemError Traceback (most recent call last)
C:ProgramDataAnaconda3libimportlib_bootstrap.py in _find_and_load(name, import_)

SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set


---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
ImportError: numpy.core._multiarray_umath failed to import


---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
ImportError: numpy.core.umath failed to import


Hopefully I didn't screw up my anaconda installation... But would anyone have any tips to try? Sorry not a lot of wisdom here... But maybe there is a better way to save the model as json or yml file to the process I was hoping run the model on a Windows machine after the training...



Do utilize a deep learning model on a Windows machine do I need the deep learning libraries installed? I was hoping to not have to install Tensorflow



EDIT



See this follow up SO post as final solution










share|improve this question




























    0















    I trained a model in keras on a Linux platform and saved the model with a model.save_weights("demandFinal.h5")



    And then I was hoping to take my complete saved model to IPython on my Windows 10 laptop running Anaconda 3.7 and use it with:



    from keras.models import load_model

    # load weights into new model
    loaded_model.load_weights("demandFinal.h5")
    print("Loaded model from disk")


    But I am running into some issues.. First I forgot Keras wasn't installed so I did a !pip install keras no problems. Then !pip install Tensorflow whether that was needed or not..



    Now I have a numpy error:



    ImportError: numpy.core.umath failed to import



    After some research online, I did a pip install -U numpy which installed that package... But I still have the same issue.. When I run the load_model in IPython anaconda 3.7, this will cause the kernel to crash/restart. Full traceback:



    C:UsersbbartlingDesktopEC

    Using TensorFlow backend.

    ---------------------------------------------------------------------------
    ModuleNotFoundError Traceback (most recent call last)
    ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'


    ---------------------------------------------------------------------------
    ImportError Traceback (most recent call last)
    ImportError: numpy.core.multiarray failed to import

    The above exception was the direct cause of the following exception:

    SystemError Traceback (most recent call last)
    C:ProgramDataAnaconda3libimportlib_bootstrap.py in _find_and_load(name, import_)

    SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set


    ---------------------------------------------------------------------------
    ImportError Traceback (most recent call last)
    ImportError: numpy.core._multiarray_umath failed to import


    ---------------------------------------------------------------------------
    ImportError Traceback (most recent call last)
    ImportError: numpy.core.umath failed to import


    Hopefully I didn't screw up my anaconda installation... But would anyone have any tips to try? Sorry not a lot of wisdom here... But maybe there is a better way to save the model as json or yml file to the process I was hoping run the model on a Windows machine after the training...



    Do utilize a deep learning model on a Windows machine do I need the deep learning libraries installed? I was hoping to not have to install Tensorflow



    EDIT



    See this follow up SO post as final solution










    share|improve this question


























      0












      0








      0








      I trained a model in keras on a Linux platform and saved the model with a model.save_weights("demandFinal.h5")



      And then I was hoping to take my complete saved model to IPython on my Windows 10 laptop running Anaconda 3.7 and use it with:



      from keras.models import load_model

      # load weights into new model
      loaded_model.load_weights("demandFinal.h5")
      print("Loaded model from disk")


      But I am running into some issues.. First I forgot Keras wasn't installed so I did a !pip install keras no problems. Then !pip install Tensorflow whether that was needed or not..



      Now I have a numpy error:



      ImportError: numpy.core.umath failed to import



      After some research online, I did a pip install -U numpy which installed that package... But I still have the same issue.. When I run the load_model in IPython anaconda 3.7, this will cause the kernel to crash/restart. Full traceback:



      C:UsersbbartlingDesktopEC

      Using TensorFlow backend.

      ---------------------------------------------------------------------------
      ModuleNotFoundError Traceback (most recent call last)
      ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core.multiarray failed to import

      The above exception was the direct cause of the following exception:

      SystemError Traceback (most recent call last)
      C:ProgramDataAnaconda3libimportlib_bootstrap.py in _find_and_load(name, import_)

      SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core._multiarray_umath failed to import


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core.umath failed to import


      Hopefully I didn't screw up my anaconda installation... But would anyone have any tips to try? Sorry not a lot of wisdom here... But maybe there is a better way to save the model as json or yml file to the process I was hoping run the model on a Windows machine after the training...



      Do utilize a deep learning model on a Windows machine do I need the deep learning libraries installed? I was hoping to not have to install Tensorflow



      EDIT



      See this follow up SO post as final solution










      share|improve this question
















      I trained a model in keras on a Linux platform and saved the model with a model.save_weights("demandFinal.h5")



      And then I was hoping to take my complete saved model to IPython on my Windows 10 laptop running Anaconda 3.7 and use it with:



      from keras.models import load_model

      # load weights into new model
      loaded_model.load_weights("demandFinal.h5")
      print("Loaded model from disk")


      But I am running into some issues.. First I forgot Keras wasn't installed so I did a !pip install keras no problems. Then !pip install Tensorflow whether that was needed or not..



      Now I have a numpy error:



      ImportError: numpy.core.umath failed to import



      After some research online, I did a pip install -U numpy which installed that package... But I still have the same issue.. When I run the load_model in IPython anaconda 3.7, this will cause the kernel to crash/restart. Full traceback:



      C:UsersbbartlingDesktopEC

      Using TensorFlow backend.

      ---------------------------------------------------------------------------
      ModuleNotFoundError Traceback (most recent call last)
      ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core.multiarray failed to import

      The above exception was the direct cause of the following exception:

      SystemError Traceback (most recent call last)
      C:ProgramDataAnaconda3libimportlib_bootstrap.py in _find_and_load(name, import_)

      SystemError: <class '_frozen_importlib._ModuleLockManager'> returned a result with an error set


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core._multiarray_umath failed to import


      ---------------------------------------------------------------------------
      ImportError Traceback (most recent call last)
      ImportError: numpy.core.umath failed to import


      Hopefully I didn't screw up my anaconda installation... But would anyone have any tips to try? Sorry not a lot of wisdom here... But maybe there is a better way to save the model as json or yml file to the process I was hoping run the model on a Windows machine after the training...



      Do utilize a deep learning model on a Windows machine do I need the deep learning libraries installed? I was hoping to not have to install Tensorflow



      EDIT



      See this follow up SO post as final solution







      python tensorflow machine-learning keras data-science






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 7 at 18:29







      HenryHub

















      asked Mar 6 at 21:47









      HenryHubHenryHub

      462319




      462319






















          1 Answer
          1






          active

          oldest

          votes


















          0














          idk actualy what is anaconda but anaconda users's path where python files stored not looks healty and almost all anaconda users's path looks different



          but this error causes numpy version probably youre using numpy 1.15 wich doesnot have numpy.core._multiarray_umath. upgrading numpy to 1.16 hopfuly solve error



          pip install --upgrade numpy==1.16.1


          after installation run python -c "import numpy.core._multiarray_umath" if you get error you have a problem with numpy installation.



          edit) package installation for anaconda:




          • for current environment:



            conda install numpy=1.16.1




          • for spesific environment:



            conda install numpy=1.16.1 -n python37_environment







          share|improve this answer

























          • Still same issue.. Got any ideas?

            – HenryHub
            Mar 7 at 2:23











          • @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

            – Rifat Alptekin Çetin
            Mar 7 at 10:48







          • 1





            On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

            – HenryHub
            Mar 7 at 14:42











          • Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

            – HenryHub
            Mar 7 at 14:49











          • github.com/michalfaber/…

            – HenryHub
            Mar 7 at 14:50










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55032687%2frun-keras-model-h5-on-windows-10%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          idk actualy what is anaconda but anaconda users's path where python files stored not looks healty and almost all anaconda users's path looks different



          but this error causes numpy version probably youre using numpy 1.15 wich doesnot have numpy.core._multiarray_umath. upgrading numpy to 1.16 hopfuly solve error



          pip install --upgrade numpy==1.16.1


          after installation run python -c "import numpy.core._multiarray_umath" if you get error you have a problem with numpy installation.



          edit) package installation for anaconda:




          • for current environment:



            conda install numpy=1.16.1




          • for spesific environment:



            conda install numpy=1.16.1 -n python37_environment







          share|improve this answer

























          • Still same issue.. Got any ideas?

            – HenryHub
            Mar 7 at 2:23











          • @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

            – Rifat Alptekin Çetin
            Mar 7 at 10:48







          • 1





            On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

            – HenryHub
            Mar 7 at 14:42











          • Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

            – HenryHub
            Mar 7 at 14:49











          • github.com/michalfaber/…

            – HenryHub
            Mar 7 at 14:50















          0














          idk actualy what is anaconda but anaconda users's path where python files stored not looks healty and almost all anaconda users's path looks different



          but this error causes numpy version probably youre using numpy 1.15 wich doesnot have numpy.core._multiarray_umath. upgrading numpy to 1.16 hopfuly solve error



          pip install --upgrade numpy==1.16.1


          after installation run python -c "import numpy.core._multiarray_umath" if you get error you have a problem with numpy installation.



          edit) package installation for anaconda:




          • for current environment:



            conda install numpy=1.16.1




          • for spesific environment:



            conda install numpy=1.16.1 -n python37_environment







          share|improve this answer

























          • Still same issue.. Got any ideas?

            – HenryHub
            Mar 7 at 2:23











          • @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

            – Rifat Alptekin Çetin
            Mar 7 at 10:48







          • 1





            On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

            – HenryHub
            Mar 7 at 14:42











          • Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

            – HenryHub
            Mar 7 at 14:49











          • github.com/michalfaber/…

            – HenryHub
            Mar 7 at 14:50













          0












          0








          0







          idk actualy what is anaconda but anaconda users's path where python files stored not looks healty and almost all anaconda users's path looks different



          but this error causes numpy version probably youre using numpy 1.15 wich doesnot have numpy.core._multiarray_umath. upgrading numpy to 1.16 hopfuly solve error



          pip install --upgrade numpy==1.16.1


          after installation run python -c "import numpy.core._multiarray_umath" if you get error you have a problem with numpy installation.



          edit) package installation for anaconda:




          • for current environment:



            conda install numpy=1.16.1




          • for spesific environment:



            conda install numpy=1.16.1 -n python37_environment







          share|improve this answer















          idk actualy what is anaconda but anaconda users's path where python files stored not looks healty and almost all anaconda users's path looks different



          but this error causes numpy version probably youre using numpy 1.15 wich doesnot have numpy.core._multiarray_umath. upgrading numpy to 1.16 hopfuly solve error



          pip install --upgrade numpy==1.16.1


          after installation run python -c "import numpy.core._multiarray_umath" if you get error you have a problem with numpy installation.



          edit) package installation for anaconda:




          • for current environment:



            conda install numpy=1.16.1




          • for spesific environment:



            conda install numpy=1.16.1 -n python37_environment








          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 7 at 20:04

























          answered Mar 6 at 22:20









          Rifat Alptekin ÇetinRifat Alptekin Çetin

          1,04219




          1,04219












          • Still same issue.. Got any ideas?

            – HenryHub
            Mar 7 at 2:23











          • @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

            – Rifat Alptekin Çetin
            Mar 7 at 10:48







          • 1





            On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

            – HenryHub
            Mar 7 at 14:42











          • Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

            – HenryHub
            Mar 7 at 14:49











          • github.com/michalfaber/…

            – HenryHub
            Mar 7 at 14:50

















          • Still same issue.. Got any ideas?

            – HenryHub
            Mar 7 at 2:23











          • @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

            – Rifat Alptekin Çetin
            Mar 7 at 10:48







          • 1





            On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

            – HenryHub
            Mar 7 at 14:42











          • Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

            – HenryHub
            Mar 7 at 14:49











          • github.com/michalfaber/…

            – HenryHub
            Mar 7 at 14:50
















          Still same issue.. Got any ideas?

          – HenryHub
          Mar 7 at 2:23





          Still same issue.. Got any ideas?

          – HenryHub
          Mar 7 at 2:23













          @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

          – Rifat Alptekin Çetin
          Mar 7 at 10:48






          @HenryHub can you execute python -c "import numpy.core._multiarray_umath" what output you get. if you get error your numpy 1.16.1 installation is incorrect.

          – Rifat Alptekin Çetin
          Mar 7 at 10:48





          1




          1





          On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

          – HenryHub
          Mar 7 at 14:42





          On my Windows 10 laptop I did the pip install --upgrade numpy==1.16.1 in both 3.6 python & anaconda 3.7 . In IDLE 3.6, the shell command prompt this appears to import without any problems >>> import numpy.core._multiarray_umath but in IPython 3.7, Im getting a ` --------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-1-8d3c7ed14171> in <module>() ----> 1 import numpy.core._multiarray_umath ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'`

          – HenryHub
          Mar 7 at 14:42













          Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

          – HenryHub
          Mar 7 at 14:49





          Is it easiest to ditch the IPython anaconda route and just use ordinary (my limited understanding of software) Python (IDLE)? When I run the code in 3.6 IDLE, I am getting a ValueError: Cannot create group in read only mode. But researching online there is a Keras git issue (link below) for this and I think the fix from reading this is to ` solved it by manually defining the architecture and then loading the weights.` Any tips on how to move forward in a direction would be greatly appreciated. How would I manually define the architecture on this route?

          – HenryHub
          Mar 7 at 14:49













          github.com/michalfaber/…

          – HenryHub
          Mar 7 at 14:50





          github.com/michalfaber/…

          – HenryHub
          Mar 7 at 14:50



















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55032687%2frun-keras-model-h5-on-windows-10%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

          Алба-Юлія

          Захаров Федір Захарович