Open RubensZimbres opened 2 months ago
I have encountered the same issue with Pykan's .plot()
method in Colab notebooks since July 11th, 2024. Has there been any update or workaround to resolve this error?
I am also facing the below error while training: Intel MKL ERROR: Parameter 6 was incorrect on entry to SGELSY.
I tried to fix this error, finally failed. When I encountered this error, pykan package didn't have assets/img/sum_symbol.png
, so made directories then put sum_symbol.png there. After adding sum_symbol.png and running plot method, partial png images of kan activation functions and some strange yum files were generated, not a whole kan graph. All files in assets
may have to be added.
Now I fixed this error by following steps:
assets/img/
in your kan packagesum_symbol.png
and mult_symbol.png
from repo's assets/img
then put them to your assets/img
from matplotlib import pyplot as plt
plt.show()
after model.plot()
But not sure this can work correctly in your Colab source code because I run the tutorial in my local environment.
This error might be caused by lack of png images. The plot method might be implemented using matplotlib.pyplot, so plt.show()
can visualize your KAN graph.
Hi @xi-yangchun , Thank you. This worked in my local environment
I am using a Colab Notebook and everthing was fine until July 5th, 2024. Now, model.plot() gives the following error:
Python 3.10.12
I tried installation via pip Pypi and pip install git+https://github.com/KindXiaoming/pykan.git. Both return errors in .plot()
Is this a pillow error ?
My pip list: