Skip to main content

All Questions

Filter by
Sorted by
Tagged with
21 votes
2 answers
39k views

In CNN, why do we increase the number of filters in deeper Convolution layers for complex images?

I have been doing this online course Introduction to TensorFlow for AI, ML and DL. Here in one part, they were showing a CNN model for classifying human and horses. In this model, the first ...
Sanjay's user avatar
  • 333
4 votes
2 answers
1k views

Tensorflow (or Keras) vs. Pytorch vs. some other ML library for implementing a CNN [closed]

I am looking into implementing a convolutional neural network for a research problem. I've heard of deep learning libraries like Pytorch and Tensorflow and was hoping to get some additional ...
anonuser01's user avatar
4 votes
2 answers
9k views

how can I solve label shape problem in tensorflow when using one-hot encoding?

I used tensorflow to recognize text from natural images by using convolutional neural network; there is no specific number of characters in the text. To make a successful training I should convert the ...
AB_'s user avatar
  • 185
4 votes
2 answers
2k views

how to calculate quadratic features in computer vision Neural Network

I am recently watching some tutorials for deep learning from Dr Andrew Ng on Youtube. Link is hereThe Youtube video There is a concept of number of features in convolutional neural network in ...
cinqS's user avatar
  • 367
3 votes
1 answer
448 views

How to implement a convolutional autoencoder?

I would like to implement a convolutional autoencoder in Tensorflow, but it is not clear how the decoder part should work. Each layer of the encoding, is a convolutional layer with activation ...
Iter Ator's user avatar
  • 195
2 votes
1 answer
1k views

Anyone have fruit disease dataset? [closed]

I am doing a project on fruit disease recognition and classification. Anyone have an existing dataset of fruit diseases? Can you help me to find one?
Abishekh Kc's user avatar
2 votes
1 answer
4k views

TensorFlow: trainable_variables() is empty

I want to retrieve the list of trainable variables/weights in my model (wrapped in a tf.Estimator). However, ...
Ben's user avatar
  • 250
1 vote
1 answer
73 views

How to align the description of a convolutional neural network in keras with wikipedia's conceptual model?

I was going through the introductory guide to convolutional neural networks in tensor flow here And I was trying to logically map some of the code I saw to my actual understanding of how convolutional ...
Sidharth Ghoshal's user avatar
1 vote
0 answers
169 views

What does it mean to say convolution implementation is based on GEMM (matrix multiply) or it is based on 1x1 kernels?

I have been trying to understand (but miserably failing) how convolutions on images (with height, width, channels) are implemented in software. I've heard people say their convolution implementation ...
Joe Black's user avatar
  • 123
1 vote
0 answers
37 views

How to make sense of the input and output for a speech-generation model like WaveNet?

I am currently studying this model speech generation known as WaveNet model by Google. https://arxiv.org/pdf/1609.03499.pdf using the linked original paper and this implementation. I find the model ...
Joe Black's user avatar
  • 123
1 vote
0 answers
2k views

How do I fix the misshape in a CNN?

I wrote a simple CNN with a maxpool, a dense layer and a drop layer. Unfortunately there is two messages why it doesn't work. In a normal session codes complaines about a misshape between y_conv and ...
snowparrot's user avatar
0 votes
2 answers
6k views

Convolutional neural network with 1 channel images/1 input channel

I'm following a tutorial on tensorflow using a convolutional neural network for images, but I'm looking to do it with grayscale images. How would the code posted there be different if it was for ...
Alex's user avatar
  • 1
0 votes
1 answer
2k views

Resize instead of transposed convolutions

I'm trying to build a decoder version of ResNet, i.e. one that goes from the prelogits layer and attempts to recreate the image. I can get it working by using transposed convolutions, but the quality ...
Kurt Newman's user avatar
0 votes
1 answer
1k views

Can anyone recommend me a very good pre-trained model for face or head detection?

I really need to know the best pre-trained models to detect faces and/or peoples' head. Not a face recognition model, but only to classify whether an object is a person's head/face or not. I'm ...
Maf's user avatar
  • 125
-1 votes
1 answer
5k views

how can I used tf.argmax in multi-dimensions tensor?

I want to know who can I use the tf.argmax in multi-dimension tensor in the Tensorflow using convolution neural network. bellow is simple example to explain what I want exactly:: 1-D tensor example::...
AB_'s user avatar
  • 185