The following cell executes successfully:
!git clone https://github.com/ZPZhou-lab/tfkan.git
!cd tfkan && pip install .
However, after that when I run the statements:
from tfkan import layers
from tfkan.layers import DenseKAN, Conv2DKAN
I get the error mesage:
Cell In[8], line 3
2 import tensorflow as tf
----> 3 from tfkan import layers
4 from tfkan.layers import DenseKAN, Conv2DKAN
ImportError: cannot import name 'layers' from 'tfkan' (unknown location).
I am using a Kaggle Notebook at the moment. I have not checked if the issue is particular to the environment or pertains to configuration in general. Please, look into it. Thank you.
The following cell executes successfully:
!git clone https://github.com/ZPZhou-lab/tfkan.git
!cd tfkan && pip install .
However, after that when I run the statements:
from tfkan import layers
from tfkan.layers import DenseKAN, Conv2DKAN
I get the error mesage:
Cell In[8], line 3
2 import tensorflow as tf
----> 3 from tfkan import layers
4 from tfkan.layers import DenseKAN, Conv2DKAN
ImportError: cannot import name 'layers' from 'tfkan' (unknown location).
I am using a Kaggle Notebook at the moment. I have not checked if the issue is particular to the environment or pertains to configuration in general. Please, look into it. Thank you.