process failed. script terminated abnormally.

vincent123
vincent123 New Altair Community Member
edited November 2024 in Community Q&A
Hi everyone,

keras is successfully installed. However, when i tried to run the process, the following error occurs. It would be grateful if you could provide me some solutions. thanks

Feb 27, 2020 5:05:24 PM INFO: Global Search category actions registered.

Feb 27, 2020 5:05:24 PM INFO: Async: Hardware accelerated browser setup test starting.

Feb 27, 2020 5:05:24 PM INFO: Async: Created hardware accelerated browser instance.

Feb 27, 2020 5:05:24 PM INFO: Async: Loaded hardware accelerated browser test content. Executing functionality check.

Feb 27, 2020 5:05:24 PM INFO: Async: Hardware accelerated browser setup test successful.

Feb 27, 2020 5:05:26 PM INFO: Global Search category academy registered.

Feb 27, 2020 5:05:26 PM INFO: Global Search GUI provider added for category academy.

Feb 27, 2020 5:05:27 PM INFO: Global Search GUI provider added for category operator.

Feb 27, 2020 5:05:27 PM INFO: Global Search GUI provider added for category repository.

Feb 27, 2020 5:05:27 PM INFO: Global Search GUI provider added for category actions.

Feb 27, 2020 5:05:27 PM INFO: Global Search category marketplace registered.

Feb 27, 2020 5:05:27 PM INFO: Global Search GUI provider added for category marketplace.

Feb 27, 2020 5:05:28 PM INFO: Community repository 'Training Resources' added.

Feb 27, 2020 5:05:30 PM INFO: Community repository 'Community Samples' added.

Feb 27, 2020 5:05:33 PM INFO: Operator 'Process' was created with version '9.4.000'. The operator's behaviour has changed as of version '9.5.001' and can be adapted to the latest version in the parameter panel.

Feb 27, 2020 5:05:34 PM INFO: No filename given for result file, using stdout for logging results!

Feb 27, 2020 5:05:34 PM INFO: Process //Keras Samples/xor_function/xor-function starts

Feb 27, 2020 5:05:34 PM INFO: Traceback (most recent call last):

Feb 27, 2020 5:05:34 PM INFO:   File "wrapper.py", line 44, in <module>

Feb 27, 2020 5:05:34 PM INFO:     pandas_major_version = pandas.__version__.split('.')[1]

Feb 27, 2020 5:05:34 PM INFO: AttributeError: module 'pandas' has no attribute '__version__'

Feb 27, 2020 5:05:34 PM SEVERE: Process failed: Script terminated abnormally.

Feb 27, 2020 5:05:34 PM SEVERE: Here: 

Feb 27, 2020 5:05:34 PM SEVERE:           Process[1] (Process)

Feb 27, 2020 5:05:34 PM SEVERE:            subprocess 'Main Process'

Feb 27, 2020 5:05:34 PM SEVERE:              +- Retrieve xor-data[1] (Retrieve)

Feb 27, 2020 5:05:34 PM SEVERE:              +- Multiply[1] (Multiply)

Feb 27, 2020 5:05:34 PM SEVERE:              +- Keras Model[1] (Keras Model)

Feb 27, 2020 5:05:34 PM SEVERE:            subprocess 'Executed Process'

Feb 27, 2020 5:05:34 PM SEVERE:              |     +- Add Core Layer[1] (Add Core Layer)

Feb 27, 2020 5:05:34 PM SEVERE:        ==>   |     +- Add Core Layer (2)[1] (Add Core Layer)

Feb 27, 2020 5:05:34 PM SEVERE:              +- Apply Keras Model[0] (Apply Keras Model)



Tagged:

Best Answer

  • varunm1
    varunm1 New Altair Community Member
    edited February 2020 Answer ✓
    Hello @vincent123

    I tested your process and I saw your error log in the thread. You were getting issues with the pandas module, I guess there is some version compatibility issue with pandas.

    Even for me, the process didn't run due to "ModuleNotFoundError: No module named 'keras'". I guess this is also some issue with the backend version compatibility, as you saw in my earlier post the module test is successful but the original process is not detecting Keras in my case.

    I am not sure what exact versions are needed and we stopped using this extension long back. I am not sure if you are going to get support on this extension as RM recommends to use Deep Learning extension and new version is releasing in near future. I will let you know if I get some information on this.

Answers

  • varunm1
    varunm1 New Altair Community Member
    edited February 2020
    Hello @vincent

    Are you running the sample process in radiminer keras repository?

    If not, can you provide us with rapidminer process and data? Rapidminer process and be exported to .rmp from File --> export process and can be attached here.

    As I mentioned in my previous post, this extension is not maintained now and it has issues. That is one reason we recommend using the new deep learning extension (DL4j) or you can use python scripting operator to use keras in python.
  • vincent123
    vincent123 New Altair Community Member
    Hi @varunm1 ,

    i have attached the process here. it is just the sample process in the rapidminer keras repository.

  • varunm1
    varunm1 New Altair Community Member
    edited February 2020 Answer ✓
    Hello @vincent123

    I tested your process and I saw your error log in the thread. You were getting issues with the pandas module, I guess there is some version compatibility issue with pandas.

    Even for me, the process didn't run due to "ModuleNotFoundError: No module named 'keras'". I guess this is also some issue with the backend version compatibility, as you saw in my earlier post the module test is successful but the original process is not detecting Keras in my case.

    I am not sure what exact versions are needed and we stopped using this extension long back. I am not sure if you are going to get support on this extension as RM recommends to use Deep Learning extension and new version is releasing in near future. I will let you know if I get some information on this.