TKAN icon indicating copy to clipboard operation
TKAN copied to clipboard

The problem has not been completely solved.

Open ChineseDictionary opened this issue 5 months ago • 2 comments

          The problem has not been completely solved. When I try to load the model in another file in the same environment, the problem still occurs. How do we fix this? Thank you.

The save and load steps are the same as above. I have updated TKAN and keras_efficient_kan to the latest version. The error message is ValueError: A total of 2 objects could not be loaded. Example error message for object <KANLinear name=kan_linear, built=True>: The shape of the target variable and the shape of the target value in variable.assign(value) must match. variable.shape=(1, 10), Received: value.shape=(1, 10). Target variable: <KerasVariable shape=(1, 65, 10), dtype=float32, path=tkan/tkan_cell/kan_linear/grid> List of objects that could not be loaded: [<KANLinear name=kan_linear, built=True>, <KANLinear name=kan_linear_1, built=True>] Originally posted by @ChineseDictionary in https://github.com/remigenet/TKAN/issues/12#issuecomment-2363149916

ChineseDictionary avatar Sep 20 '24 09:09 ChineseDictionary