Sachin Prasad
Sachin Prasad
Could you please try by creating a fresh environment and install the `Keras/TensorFlow` latest package and import the package as below ``` import keras from keras import layers, optimizers, regularizers...
you can do `keras.src.layers` in that case
I don't see any issues when I try from my side, here is the working Gist https://colab.sandbox.google.com/gist/sachinprasadhs/257ce4b5995bbba7ad526cb7c045734b/20103.ipynb. Note: We only release `PyPi` Keras package as our official release, all other...
Hi, Cross version saving and loading is not guaranteed to work between Keras 2 and 3. It's suggested to migrate your code to Keras and and then use the save...
Can you try to create a model in Keras 3 instead of keras_core and try to load it in the same version and let us know the outcome of it....
keras-core was a pre-release for Keras 3, now Keras 3 is available and all the latest updates will be made available in the Keras 3 release. you can install it...
Could you please provide some sample reproducible code to replicate the reported behavior. Thanks
Hi, Could you please provide the reproducible code to replicate the reported behavior. Thanks
Could you please try ```python visible=kr.Input(shape=(96,360)) x = kr.layers.Flatten()(visible) x=kr.layers.Dense(256,activation='relu')(visible) x=kr.layers.Dense(64,activation='relu')(x) output=kr.layers.Dense(3,activation='softmax')(x) model=kr.Model(inputs=visible, outputs=output) model.fit(dataset,epochs=10) ```
I see, Thanks for the clarification are you loading the dataset using `dataset = keras.utils.PyDataset(dataset)`