Open mularo opened 1 month ago
i also cant use in conda/spyder. i do all import requirements but cant use, does not regonize the library.
I can run the rode in Jupyter well, but got an error when running in pycharm. from kan import * model = KAN(width=[2,5,1], grid=5, k=3, seed=0)
error: NameError: name 'KAN' is not defined
I had already solved the problem, the reason is that the name of the .py file is kan.py. And after chaging the file's name, everything is OK.
I can run the rode in Jupyter well, but got an error when running in pycharm. from kan import * model = KAN(width=[2,5,1], grid=5, k=3, seed=0)
error: NameError: name 'KAN' is not defined