-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kernel Restarting The kernel appears to have died. It will restart automatically. #5
Comments
Thanks for using LIBTwinSVM and reporting an issue. Also, what is the dimension of your input dataset, |
from libtsvm.optimizer import clipdcd No clipdcd module OS: Mac
|
@xizepu |
@mir-am Hi, I reinstall LibTwinSVM using pip and success run in macOS. Many thanks! |
Now I install LibTwinSVM for Windows11
the errors:
Maybe the git subprocess? |
Maybe the Python version is not suit for it. I install
the errors is
let me install python 3.7. |
Unfortunately, I have not tested LibTwinSVM with Python 3.8 and newer. It is tested up to Python 3.7. |
@mir-am OK, many thanks! Great jobs! |
@mir-am Hi, the same errors on Python 3.7 1st, I try to install LIBTwinSVM from the source, but the compile errors. 2nd, I install LIBTwinSVM from
In python
However, when I try GUI, the errors:
|
@xizepu |
from libtsvm.estimators import TSVM
from tensorflow.keras import backend as K
m_temp = tf.keras.Model(inputs=model.input, outputs=model.get_layer('drop_out').output)
t = m_temp.predict(train_ids)
arr = K.eval(t)
lssvc_concat = TSVM(kernel='linear') # Class instantiation
lssvc_concat.fit(arr, train_labels.ravel()) # Fitting the mode
This is my code. I have taken the weights from some deep learning model and I am trying to add the classifier TSVM. Until class instantiation, it is working fine. But while fitting, I am getting like "The kernel appears to have died. It will restart automatically". Kindly help me in this regard.
Thanks in advance...
The text was updated successfully, but these errors were encountered: