Category "keras"

Unable to produce tensorboard in Keras pre trained model

I am building Pre trained inception model for image classification in keras i am trying to produce tensorboard but getting errors like "Unable to create directo

Keras installation failed with Rstudio RcppTOML had non-zero exit status

I am struggling to install keras on my Rstudio version 2021.09.2 Build 382 (R version 3.6.0 (2019-04-26)) on Linux Centos 7. I am having this error message: ERR

Input shape for Keras conv1D with sequential data

I want to use Conv1D for making dilated convolution network to a sequential dataset. So I tried Conv1D with Boston dataset. from tensorflow.python.keras.layers

Multiple CNN output + data augmentation with Keras error: `x` (images tensor) and `y` (labels) should have the same length

I am working on a CNN model running through a dataset of images, where I have one set of convolution layers, then two sets of dense layers for outputting age an

How to use keras model inside other model in TPU

I am trying to convert a keras model to tpu model in google colab, but this model has another model inside. Take a look at the code: https://colab.research.goo

ValueError: The first argument to `Layer.call` must always be passed

I was trying to build a model with the Sequential API (it has already worked for me with the Functional API). Here is the model that I'm trying to built in Sequ

How do custom input_shape for Inception V3 in Keras work?

I know that the input_shape for Inception V3 is (299,299,3). But in Keras it is possible to construct versions of Inception V3 that have custom input_shape if

ImportError: cannot import name 'adam' from 'keras.optimizers'

I am trying to import Keras but I get the following error: ImportError: cannot import name 'adam' from 'keras.optimizers' (/usr/local/lib/python3.8/dist-package

ImportError: cannot import name 'adam' from 'keras.optimizers'

I am trying to import Keras but I get the following error: ImportError: cannot import name 'adam' from 'keras.optimizers' (/usr/local/lib/python3.8/dist-package

Keras installed through Conda breaks the Anaconda Prompt on Windows 10 [closed]

I have a Win10 OS, with Anaconda 3.6 installed, and a friend told me to install keras by using a specific conda command. Without reading any o

Is there any documentation about default weight initializer in Keras? [duplicate]

I just read about the Keras weight initializers in here. In the documentation, only different initializers has been introduced. Such as: mode

Keras - EarlyStopping based on user input

I am wondering if there is an easy way of creating a way of triggering early stopping in Keras based on user input rather than monitorization of any particular

How the TensorFlow Output Dense layers nodes mapping to labels?

I'm starting to study the tensorflow with the image classification sample which is the first sample on the tensorflow official document. It creates the Keras Se

How to Setup Adaptive Learning Rate in Keras

Below is my code: model = Sequential([ Dense(32, input_shape=(32,), activation = 'relu'), Dense(100, activation='relu'), Dense(65, input_shape=(65

How to see metrics of a loaded keras model?

I have trained a model with keras and saved it, can I see what the computed metrics during training were, after I load back the mode with keras.models import lo

How to avoid augmenting data in validation split of Keras ImageDataGenerator?

I'm using the following generator: datagen = ImageDataGenerator( fill_mode='nearest', cval=0, rescale=1. / 255, rotation_range=90, width_sh

UnimplementedError: Fused conv implementation does not support grouped convolutions for now

I am trying to build a CNN model to recognise human sketch using the TU-Berlin dataset. I downloaded the png zip file, imported the data to Google Colab and the

failed to install tensorflow on a EC2 instance Ubuntu 20.04

I have a flask application that I would like to run it on an EC2 instance and TensorFlow is needed cause it is image classification. However, after the necessar

How can I save an object containing keras models?

Here is my code skeleton: def build_model(x, y): model = tf.keras.models.Sequential() model.add(tf.keras.layers.Dense(1, activation='relu')) model.

ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'

I am trying to import import tensorflow.python.keras.applications but it gives the bellow error: ModuleNotFoundError: No module named 'tensorflow.python.keras.