Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GBM plot failed to generate plots #8846

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 6 comments
Closed

GBM plot failed to generate plots #8846

exalate-issue-sync bot opened this issue May 12, 2023 · 6 comments

Comments

@exalate-issue-sync
Copy link

No description provided.

@exalate-issue-sync
Copy link
Author

Wendy commented: Attached please find Franklin’s code and dataset.

[^GBM - Plot Failure (e8a2f5d4-9dbb-4542-bf34-a9b973a919ab).ipynb]

@exalate-issue-sync
Copy link
Author

Wendy commented: After analyzing the problem, it seems to be that the Jupyter Notebook kernel is killed when the command GBM.plot() or the GBM.varimp_plot(5) is called, the kernal died.

Franklin has caught the following error off his machine:

GBM.plot()
OMP: Error #15: Initializing libiomp5.dylib, but found libomp.dylib already initialized.
OMP: Hint This means that multiple copies of the OpenMP runtime have been linked into the program. That is dangerous, since it can degrade performance or cause incorrect results. The best thing to do is to ensure that only a single OpenMP runtime is linked into the process, e.g. by avoiding static linking of the OpenMP runtime in any library. As an unsafe, unsupported, undocumented workaround you can set the environment variable KMP_DUPLICATE_LIB_OK=TRUE to allow the program to continue to execute, but that may cause crashes or silently produce incorrect results. For more information, please see [http://www.intel.com/software/products/support/|https://slack-redir.net/link?url=http%3A%2F%2Fwww.intel.com%2Fsoftware%2Fproducts%2Fsupport%2F].
Abort trap: 6

@exalate-issue-sync
Copy link
Author

Wendy commented: I was able to run the jupyter notebook to completion.

!image-20190813-183557.png|width=553,height=942!

@exalate-issue-sync
Copy link
Author

Franklin Alvarenga commented: This is a temporary solution. I’ll keep investigating more on this issue.

import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'

This is the link where you can find the solutions.

[https://github.com/dmlc/xgboost/issues/1715|https://github.com/dmlc/xgboost/issues/1715|smart-link]

@exalate-issue-sync
Copy link
Author

Franklin Alvarenga commented: I uninstalled and re-installed h2o and it fixed the problem. I followed the next steps, from the documentation:

Install all the dependencies first (this was done before, but just to make sure everything is as it should be):

{code}pip install requests
pip install tabulate
pip install "colorama>=0.3.8"
pip install future{code}

Then, uninstall the previous version of h2o in your machine,

{{pip uninstall h2o}}

and lastly, install the latest stable version,

{{pip install -f http://h2o-release.s3.amazonaws.com/h2o/latest_stable_Py.html h2o}}

Note: This was done to install version 3.26.0.2

[http://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html|http://docs.h2o.ai/h2o/latest-stable/h2o-docs/downloading.html]

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-6788
Assignee: Franklin Alvarenga
Reporter: N/A
State: Resolved
Fix Version: N/A
Attachments: Available (Count: 5)
Development PRs: N/A

Attachments From Jira

Attachment Name: GBM - Plot Failure.ipynb
Attached By: Wendy
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6788/GBM - Plot Failure.ipynb

Attachment Name: GBM - Plot Failure.ipynb
Attached By: Wendy
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6788/GBM - Plot Failure.ipynb

Attachment Name: GBM - Plot Failure (910ec462-e779-48de-8af7-22ed1c47da7c).ipynb
Attached By: Wendy
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6788/GBM - Plot Failure (910ec462-e779-48de-8af7-22ed1c47da7c).ipynb

Attachment Name: GBM - Plot Failure (e8a2f5d4-9dbb-4542-bf34-a9b973a919ab).ipynb
Attached By: Wendy
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6788/GBM - Plot Failure (e8a2f5d4-9dbb-4542-bf34-a9b973a919ab).ipynb

Attachment Name: image-20190813-183557.png
Attached By: Wendy
File Link:https://h2o-3-jira-github-migration.s3.amazonaws.com/PUBDEV-6788/image-20190813-183557.png

@h2o-ops h2o-ops closed this as completed May 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant