-
Notifications
You must be signed in to change notification settings - Fork 34
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
Can't use featurize twice in a notebook without restarting the kernel #202
Comments
Hi @shivang-22, could you give us any more info? When you say it "gets stuck" what was the last output? |
Certainly! So this is the error log I get when I interrupt the kernel because it got 'stuck'. I'm not pasting the message in its entirety because that would be too long, but this might help maybe. The top of the error log is:
This points to the fact that its still computing the features. The bottom of the error log was more interesting to me, and reads as follows:
Its seems to me that the code is waiting indefinitely? |
So it gets stuck in the parallel internals of matminer (maybe -- depends on your luck when you actually interrupt). I would rerun with e.g. add to the snippet above:
This will either "just work" or it will give us better debug info on which featurizer is causing it to hang. |
Okay, so both |
The speed is just a limitation of matminer unfortunately. Glad it is working now though. You can see hackingmaterials/matminer#902 for the full description of the problem of parallelism in matminer. |
I am using the following function to use MODNet on a custom dataset with compositions only:
It runs fine the first time I use it, but if I change the inputs to the function and run it again in another cell, it gets stuck forever on the featurize step. So,
GNN(data_df, 'y', ['x1', 'x2'], 32, 0.02)
works fine, but then in the very next cell,
GNN(data_df, 'y', ['x1', 'x2'], 32, 0.04)
get stuck. Am I missing something?
The text was updated successfully, but these errors were encountered: