Top "Keras" questions

Keras is a neural network library providing a high-level API in Python and R. Use this tag for questions relating to how to use this API.

How to fix 'Object arrays cannot be loaded when allow_pickle=False' for imdb.load_data() function?

I'm trying to implement the binary classification example using the IMDb dataset in Google Colab. I have implemented this model …

python numpy keras
Why plt.imshow() doesn't display the image?

I am a newbie to keras, and when I tried to run my first keras program on my linux, something …

python matplotlib keras
Error when checking model input: expected convolution2d_input_1 to have 4 dimensions, but got array with shape (32, 32, 3)

I want to train a deep network starting with the following layer: model = Sequential() model.add(Conv2D(32, 3, 3, input_shape=(32, 32, 3))) …

deep-learning keras keras-layer
Could not load dynamic library 'cudart64_101.dll' on tensorflow CPU-only installation

I just installed the latest version of Tensorflow via pip install tensorflow and whenever I run a program, I get …

python python-3.x tensorflow keras tensorflow2.0
How to check if keras tensorflow backend is GPU or CPU version?

I understand that when installing tensorflow, you either install the GPU or CPU version. How can I check which one …

tensorflow keras
Can Keras with Tensorflow backend be forced to use CPU or GPU at will?

I have Keras installed with the Tensorflow backend and CUDA. I'd like to sometimes on demand force Keras to use …

python machine-learning tensorflow keras
How to concatenate two layers in keras?

I have an example of a neural network with two layers. The first layer takes two arguments and has one …

python machine-learning keras neural-network
What is the use of verbose in Keras while validating the model?

I'm running the LSTM model for the first time. Here is my model: opt = Adam(0.002) inp = Input(...) print(inp) x = …

python deep-learning keras verbose
How do I use the Tensorboard callback of Keras?

I have built a neural network with Keras. I would visualize its data by Tensorboard, therefore I have utilized: keras.…

keras tensorboard
Deep-Learning Nan loss reasons

Perhaps too general a question, but can anyone explain what would cause a Convolutional Neural Network to diverge? Specifics: I …

python tensorflow machine-learning keras theano