Problem running Keras Sample - boston_housing_prices_regression

KPL
KPL New Altair Community Member
edited November 5 in Community Q&A
I am trying to set up a GPU enabled notebook for RapidMiner Studio 9.4.001 deep learning with Keras/Tensorflow-gpu 2.0. Under RM Settings/Preferences, both the Keras and Python Scripting tests were successful. The Python Scripting installed modules are listed in the attached file. I have Python 3.7.4 installed. To verify that I have properly configured, I ran the RM Keras Samples process boston_housing_prices_regression process without any modifications. The Keras Model operator stops with the error "Execution of Python script failed", also indicating failure to create a directory ./logs\train. The full process log file is attached (RM_KeraProcess_Log). Any help will be greatly appreciated.

Answers

  • varunm1
    varunm1 New Altair Community Member
    edited November 2019
    Hello @KPL

    I am not sure if anyone working with Keras extension as it is very old and outdated. It did have some problems, so RM is now working on DL4J based extension (Deep Learning Extension). I used to work with this a year back in python 3.5 and it did ok during that time but had some issues with shapes etc. You also need to follow the exact requirements given in the below post before using keras extension. All the versions should be the same as in the below thread.

    https://community.rapidminer.com/discussion/54092/keras-deep-learning-extension
  • KPL
    KPL New Altair Community Member
    Thanks for the quick response @varunm1, as well as the advice on switching to DL4J as the latest and greatest tech. However, for my current project, I need to use Keras. I did follow the installation instructions of your link. In fact, I have it successfully working on my desktop system, but on my notebook system am getting the error as posted in the KerasProcess_Log above. I am wondering if the "failure to create a directory ./logs\train" error message may have something to do with security or folder permissions on the notebook. Any further insight will be greatly appreciated. Specifically, what is the location of the directory in question? Thanks!
  • varunm1
    varunm1 New Altair Community Member
    @pschlunder any insights here?