New answers tagged cnn
0
votes
How to perform Multi-Label Image Classification with EfficientNet
Your code looks correct. In particular, you are correct to use sigmoid activation (since you want multi-hot outputs, using softmax would not make sense) and binary_cross_entropy (this may seem counter-...
1
vote
Loss decreases, but Validation Loss just fluctuates
You have 250 images as training set, and you are using a model with millions of parameters... I'm pretty sure that your model is just memorizing the training set, aka you are overfitting.
At this ...
2
votes
Accepted
Loss decreases, but Validation Loss just fluctuates
It looks like your model is overfitting: it's learning from the training dataset, but this learning doesn't apply to the test dataset. You can try to reduce the complexity of the model by simplifying ...
1
vote
Accepted
High level-Low Level features in U-NET
To answer your question let's first go through how CNN works.
When we give a CNN an input image, it sees an array of numbers that correspond to the pixel intensities of the input image. The intensity ...
0
votes
ValueError: cannot reshape array of size 36276416 into shape (96,227,227,1)
It is normal that it can't be reshape, because:
36276416 / (96227227*1) = 36276416 / 4946784 = 7.33333333
which is not an integer result.
Maybe there is a problem with some images' size or color ...
0
votes
How to deal with different amounts of data every day?
One common option is to aggregate the embeddings of all the headlines. For example, you can compute the average of the embeddings and use the resulting 300-dim vector as input of the model.
0
votes
how does convolutional layer work?
Usually, the expected input to a 2D convolutional layer is an image of size (width, height, channels).
A filter is applied to each channel of this input image separately and the result is one 2d ...
0
votes
how does convolutional layer work?
A single convolutional layer has multiple filters and each one is different from the others. Therefore, a single convolutional layer can detect multiple features.
Top 50 recent answers are included
Related Tags
cnn × 1309deep-learning × 506
machine-learning × 349
neural-network × 331
keras × 277
tensorflow × 187
image-classification × 164
python × 142
convolutional-neural-network × 124
convolution × 91
computer-vision × 72
classification × 70
lstm × 57
pytorch × 52
image-recognition × 44
object-detection × 38
transfer-learning × 37
time-series × 36
rnn × 36
loss-function × 33
dataset × 32
accuracy × 29
training × 28
overfitting × 26
backpropagation × 24