Skip to content
Advertisement

Tag: keras

ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none) ERROR: No matching distribution found for tensorflow)

I want to install tensorflow to use Keras LSTM I installed Keras, and i import this lines to my code. Error is when runnig the code: Cmd error when i write “pip install tensorflow” : Pip version is 19.3 , python version 3.7 Answer On Windows, you must use Python 3.7.6 (64 bits) (or later version, provided it is 64-bits)

keras apply threshold for loss function

I am developing a Keras model. My dataset is badly unbalanced, so I want to set a threshold for training and testing. If I’m not mistaken, when doing a backward propagation, neural network checks the predicted values with the original ones and calculate the error and based on the error, set new weights for neurons. As I know, Keras uses

Concatenate two models with tensorflow.keras

I’m currently studying neural network models for image analysis, with the MNIST dataset. I first used only the image to build a first model. Then I created a additionnal variable, which is : 0 when the digit is actually between 0 and 4, and 1 when it’s greater or equal than 5. Therefore, I want to build a model that

During creating VAE model throws exception “you should implement a `call` method.”

I want to create VAE(variational autoencoder). During model creating it throws exception. When subclassing the Model class, you should implement a call method. I am using Tensorflow 2.0 Models with names I want to get model. Answer The problem is here: You are passing three arguments to the construction, where only two are needed (inputs and outputs). Models do not

Advertisement