keras-io
keras-io copied to clipboard
Keras documentation, hosted live at keras.io
During uploading trained model on hugging face as described here https://keras.io/examples/generative/vae/ it says `ValueError: Model should be built before trying to save` Link to Colab example with reproducible error: https://colab.research.google.com/drive/15X_vN59lbWXn2PQyAwWDoU6uBYXkdi2v?usp=sharing
Hi, Thanks for the great sources. I've been trying implementing MobileViT, and facing the error. So far, I got an error below. ``` ValueError: Exception encountered when calling layer "mobile_vi_t"...
Updating `Image Captioning.py` and `Image Captioning.ipynb` by adding visualization of the Image Data. ```py def plot_images_data(filename): """ Loads the image data params: filename: File path that contains the image data...
I found the following code and it works fine so far. https://github.com/keras-team/keras-io/blob/master/examples/timeseries/timeseries_weather_forecasting.py With Output: https://keras.io/examples/timeseries/timeseries_weather_forecasting/ In line 214 and 216 I determine which values it should use when trancing the...
Hi, thanks for the great resources. I've been looking into the mobileViT examples which is https://keras.io/examples/vision/mobilevit/, and facing the error that ``` AttributeError: module 'keras.applications.imagenet_utils' has no attribute 'correct_pad' ```...
The [Colab notebook](https://colab.research.google.com/github/keras-team/keras-io/blob/master/examples/generative/ipynb/ddim.ipynb#scrollTo=CpN07H_x-3Eo) that exemplifies the implementation of DDIM in Keras does not work using default configuration. Error in training cell: ```python AttributeError Traceback (most recent call last) [](https://localhost:8080/#) in...
In the wav2vec colab (https://keras.io/examples/audio/wav2vec2_audiocls/) I get an 'UnimplementedError' when training the model in Colab. https://colab.research.google.com/github/keras-team/keras-io/blob/master/examples/audio/ipynb/wav2vec2_audiocls.ipynb ```python model.fit( train_x, train["label"], validation_data=(test_x, test["label"]), batch_size=BATCH_SIZE, epochs=MAX_EPOCHS, ) Epoch 1/2 --------------------------------------------------------------------------- UnimplementedError Traceback...
Hi, which layer would you choose to be the last convolution layer? My network model is: ``` _________________________________________________________________ Layer (type) Output Shape Param # ================================================================= mobilenetv2_1.00_224 (Funct (None, 7, 7,...
In the section "Tune the model architecture - Define the search space" there is a minor typo: the "the" in "we tune **the** whether to use a Dropout layer" should...
Last example contains line " ".join(inverted_word_index.get[i] for i in x_train[0]) But it is wrong it have to be " ".join(inverted_word_index.get(i - 3, "?") for i in x_train[0]) Since first indexed...