Skip to main content

Questions tagged [keras]

Open source high-level neural network library for Python and R. Uses TensorFlow as backend.

Filter by
Sorted by
Tagged with
1 vote
1 answer
96 views

The MNIST dataset can be obtained directly using Keras by running the following lines of Python code. ...
user3728501's user avatar
1 vote
0 answers
139 views

What is the speed of running tensorflow 2.3.0 with GPU relative to tensorflow 2.18.0 with only CPU? Hardware Laptop: MacBook Pro 15-inch 2012 64-bit. OS: Windows 10 Pro 22H2 Processor: Intel(R) Core(...
DrJerryTAO's user avatar
  • 2,921
1 vote
0 answers
54 views

I am trying to classify either an image of 25x25 px stacked together as 50x25 px is the same(1) or different(0). I am using keras to create the NN layers. There are 10,000 instances of both 1s and 0s ...
Squish's user avatar
  • 111
2 votes
1 answer
69 views

I have input ($n=224$), strides ($s=4$), filter size ($k=11$) and no padding which gives me a fractional conv output: $$\texttt{conv output} = (n-k+2p)/s + 1 = 54....
Shri's user avatar
  • 23
1 vote
0 answers
33 views

I have been working on an image classification task using CNNs and getting some puzzling results. My training, validation and test loss keep going down with epochs and are comparable. So this might ...
Nithin's user avatar
  • 11
0 votes
0 answers
242 views

I have the goal of training a CNN model that can detect if clothing items has any defects (holes, stains etc.) on them. I am using Keras to accomplish this. I will use the model for image ...
Berk Çam's user avatar
1 vote
1 answer
562 views

the function loss of VAE is : ...
Ramzy's user avatar
  • 21
0 votes
1 answer
163 views

I want to create a simple CNN model for multi-output prediction. The predicted values are four numeric values (all between 0-1) and one categorical value (4 classes). When I try to create a model ...
Dkasi's user avatar
  • 1
1 vote
0 answers
61 views

When I view a histogram of my weights it is very much centred at 0, with the overwhelming majority being very small. I want to ensure I do not have a vanishing gradient problem. I must preface this ...
Governor's user avatar
  • 125
0 votes
1 answer
523 views

I was studying the transformer decoder code below in Keras/Tensorflow. It was not clear how they made making decisions. In the first attention block below (self.attention_1), why did they use ...
Chika's user avatar
  • 1
0 votes
0 answers
68 views

Good Morning, Currently, I'm new to Kears and neural networks in general. I'm working through Deep Learning In R With Keras with a 'capstone' project in mind, but I'm struggling to understand how to ...
Jordan Webb's user avatar
1 vote
0 answers
37 views

Let's say I have multiple timeseries, representing different features, all of length n, and I want to predict a new timeseries which represents another feature, without any past history for that ...
Theo's user avatar
  • 111
1 vote
0 answers
122 views

In the first training epoch, the Adam optimiser seems to reset the weights of my model if I have use_ema=True. I am compiling a keras model and loading weights from a file using ...
ThreeOrangeOneRed's user avatar
0 votes
1 answer
382 views

I'm building a keras model for a binary classification. ...
s28's user avatar
  • 111
1 vote
0 answers
36 views

I'm building a NN using keras and I'd like to build different architectures. My question: Can I create several models with a different number of layers at once? (e.g. using a loop). It should be ...
s28's user avatar
  • 111

15 30 50 per page
1
2 3 4 5
45