Open Thaumaturge2020 opened 2 weeks ago
Could you give your package version - I just created a vast instance on which I freshly installed tkat and tensorflow to give a test and it works. There were just a mistake when you did "model.predict(X_test)", as X_test shape is (40 ,3) while the model except (num_sample, 40, 3), so I just had to change by model.predict(X_test[np.newaxis,...]) to add a first dimension to it.
If you have older package version there were an issue with a version in the KANLinear layer used and imported but resolved since, so if you can give your package version for tkat, tkan and keras_efficient_kan it could help found out
Could you give your package version - I just created a vast instance on which I freshly installed tkat and tensorflow to give a test and it works. There were just a mistake when you did "model.predict(X_test)", as X_test shape is (40 ,3) while the model except (num_sample, 40, 3), so I just had to change by model.predict(X_test[np.newaxis,...]) to add a first dimension to it.
If you have older package version there were an issue with a version in the KANLinear layer used and imported but resolved since, so if you can give your package version for tkat, tkan and keras_efficient_kan it could help found out
I used 0.4.2 tkan
That's surely why, I forgot to update the tkat pyproject and package to update the requirements when fixing this in the TKAN package in version 0.4.3 I just updated the TKAT package to now requires at least tkan 0.4.3 Could you please do pip install tkat --upgrade to have new version (0.2.2) and check if the problem is solved ?
I add a simple test in jupyter as above.
but it simple can't get work...
like it,lol