Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

Should I interleave sin and cosine in sinusoidal positional encoding?

I'm trying to implement a sinusoidal positional encoding. I found two solutions that give different encodings. I am wondering if one of them is wrong or both are correct. I showcase visual figures of ...
Janikas's user avatar
  • 101
0 votes
1 answer
26 views

What is the "fast version" of ZFNet referenced in SPPNet and Faster R-CNN papers?

I'm reading old papers: SPPNet: Link Faster R-CNN: Link In both cases, the authors refer to a "fast version of Zeiler and Fergus (ZF) Net"; specifically: In SPPNet: ZF-5: this ...
Papemax89's user avatar
0 votes
0 answers
36 views

Losing Information while resizing the image in Segmentation task using U-net

I'm using U-net architecture to build a segmentation task of image. During training I have image of size 256256 image. It works very well on the segmentation of same size 256256 or near to size 256*...
Akshit Dhillon's user avatar
0 votes
1 answer
60 views

How do I ensure final output shape matches input shape for a semantic segmentation task?

I trying to replicate the semantic segmentation example https://keras.io/examples/vision/oxford_pets_image_segmentation/ but train on my own data. I have 8 labels (7 features + background). My images ...
utx7563yu's user avatar
2 votes
1 answer
414 views

Is vision transformer (ViT) always better than CNN?

The paper - AN IMAGE IS WORTH 16X16 WORDS: TRANSFORMERS FOR IMAGE RECOGNITION AT SCALE proposed vision transformer and outperformed CNN-based models in many cases. When it comes to sequential data, we ...
Chuck Liu's user avatar
0 votes
1 answer
66 views

Classification: ClassA vs. "everything else"

I am trying to create a neural network for recognizing a particular object. Maybe I am approaching this task from the wrong side, but, in my mind, this task boils down to teaching the network to do a ...
Dmytro Titov's user avatar
1 vote
0 answers
25 views

Suggestions for labeling regression data to improve model accuracy

I'm working on a convolutional neural network that should predict up to 3 (x,y) coordinate pairs representing the waypoints of a concrete path, given an input image. This network will be used to help ...
pmitch's user avatar
  • 11
0 votes
1 answer
95 views

How to handle the case of multiple ground truth boxes having high IOU with the same predicted box?

In single shot detector the matching strategy between ground truth and predicted box starts with the following step: For each ground truth box we are selecting from default boxes that vary over ...
Yandle's user avatar
  • 231
0 votes
1 answer
1k views

What is `Multi-scale` in Multiscale Convolutional Network?

I was reading an article on Deep Learning and came across this term called Multi-scale Neural Network. I fully understand the concepts of convolutional neural network but it is a bit difficult to ...
Aashish Chaubey's user avatar
1 vote
0 answers
22 views

Attention mechanism: Why apply multiple different transformations to obtain query, key, value

I have two questions about the structure of attention modules: Since I work with imagery I will be talking about using convolutions on feature maps in order to obtain attention maps. If we have a set ...
Steve Ahlswede's user avatar
3 votes
2 answers
1k views

Less parameters - in general within ResNets

My question is about the parameters of the ResNet. Why does the network tend to have fewer parameters than the VGG? This would be the case if I got the paper and the summary from Yannic Kilcher ...
bohniti's user avatar
  • 31
0 votes
1 answer
210 views

Training the network with some batch size - code

There is my "training" code below, I wrote it based on one youtube tutorial. I don't understand actually one part: batch_X = train_X[i:i+BATCH_SIZE], batch_y = train_y[i:i+BATCH_SIZE]. How ...
Adolf Miszka's user avatar
1 vote
1 answer
361 views

Feature extraction from sequence of images with Siamese Neural Network

I am trying to train a neural network to recognize certain actions in short movies. Each such movie consists of a fixed number of frames, each frame - the image is of course the same size, after ...
JohnyBe's user avatar
  • 113
1 vote
0 answers
23 views

Machine learning model (neural network or SVM) for unequal feature matrices size

I have feature matrices obtained from visual bags of words model for various dictionary sizes. Example, Nx5, Nx10, …., Nx15000. Where N is the number of samples and 5, 10, …15000 are the visual ...
PManjunatha's user avatar
1 vote
1 answer
364 views

Why are axes-aligned bounding boxes used in object detection

I understand (I think) why in object detection, the result is a rectangle: it is a simple shape that can be defined by 4 variables (2 pairs coords of opposite corners or 1 pair of coords + width and ...
Jan Pisl's user avatar
  • 205
1 vote
0 answers
65 views

Denoising Prior to Image Classification

From what I have read, Denoising during preprocessing for image classification tasks seems to be a bit controversial. While on one hand it might improve classification accuracy, the computational ...
madprogramer's user avatar
1 vote
0 answers
136 views

What should be the best CNN model for Feature extraction of images for Image-Image search engine using LSH?

I have images something like the below: And like this: I have a huge data around 20M or so am I want to apply de-duplication and improve the search for this ...
Deshwal's user avatar
  • 323
0 votes
1 answer
55 views

How to manage memory constraint and increase speed for 1 vs rest image similarity comparison for over 100k images for computer vision?

I'm looking for ideas on how to do things in a better way, efficiently when using Machine/Deep Learning. I am working on a search improvement problem using Computer vision where I am thinking about ...
Deshwal's user avatar
  • 323
1 vote
1 answer
41 views

Creating new images [closed]

I would like to create new images of landscapes with deep neural network. If my input is a large dataset of pictures of landscapes, how can I do to output new pictures of landscapes ? Which techniques ...
Jordan Tangy's user avatar
1 vote
0 answers
17 views

Can convolutional network learn structural properties of one feature w.r.t to other?

I'm going through the literature on pose-estimation ( DeeperCut, OpenPose, MultiPersonPosetrack). I'm interested in knowing whether these networks/ generally a CNN can learn properties (geometrical) ...
amarykya_ishtmella's user avatar
5 votes
1 answer
4k views

Which is the "BEST" deep learning model for "Custom" object detection for images & real time. YOLO v3, v4, v5, EfficientDet?

Whenever I look for object detection model, I find YOLO v3 most of the times and that might be due to the fact that it is the last version created by original ...
Deshwal's user avatar
  • 323
0 votes
1 answer
169 views

Cable angle measurement (rotation)

I need to detect the rotation of a cable (degree) in the x-axis with high precision [0.2 (or more) degree detection] from its original state. Detailed description: I have a cable that is set in its ...
Demon's user avatar
  • 61
1 vote
1 answer
325 views

Building a prediction model for dynamic coordinates and later categorize as binary classification

Project Summary I have a website (academic project) that records mouse movements such as click, mouse up, mouse down, etc. It records the coordinates for each event on a given web page from a visitor....
Bhupendra Acharya's user avatar
0 votes
1 answer
240 views

the size of training data set in the context of computer vision

Generally speaking, for training a machine learning model, the size of training data set should be bigger than the number of predictors. For a neural network, or even a deep learning model, the number ...
user288609's user avatar
0 votes
1 answer
736 views

UNet Model accuracy is stuck at exact 0.5 (neither more or less) (No class imbalance, tried tuning learning rate)

This is using PyTorch I have been trying to implement UNet model on my images, however, my model accuracy is always exact 0.5. Loss does decrease. I have also checked for class imbalance. I have ...
Sulphur's user avatar
  • 103
3 votes
1 answer
585 views

EfficientNet: Compound scaling method intuition

I was reading the paper EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks and couldn't get my head around this sentence: Intuitively, the compound scaling method makes sense ...
Ferdinand Mom's user avatar
3 votes
0 answers
65 views

Information Extraction from image / text - approach?

I need assistance with a ML project I am currently trying to create. I receive a lot of invoices from a lot of different suppliers - all in their own unique layout. I need to extract 3 key elements ...
oliverbj's user avatar
  • 185
2 votes
3 answers
381 views

Can the same CNN architecture be used for different data sets?

I have a CNN architecture that works well on 32x32x3 images. Can I use that same architecture for a data set made up of 28x28x1 images? (Both data sets have 10 classes). If this is possible, what ...
brubrudsi's user avatar
-1 votes
3 answers
3k views

why the sigmoid function will be 1 and 0 if we use a fully connected layer that produce a big enough positive(res negative )output

HI I am using a fully connected network that uses sigmoid if we feed a a big enough weights the sigmoid function will finally become 1 or 0 , is there any solution to avoid this ? and will this lead ...
ou2105's user avatar
  • 387
1 vote
1 answer
47 views

Reconize a card from a video stream

I want to make an mobile app where you scan using the camera and it gives you the card you just scanned. (from a board game) I got a PNG of each and every single existing cards, but I don't really ...
HypnoZ's user avatar
  • 11
6 votes
1 answer
64 views

Unable to understand the meaning of following lines of the research paper for image segmentation

I am implementing a paper on image segmentation. It is based on the slight modification of the u-net architecture. The paper is based on encoder and decoder steps Following are the lines of the paper ...
Beginner's user avatar
  • 148
0 votes
1 answer
38 views

Is text recognition by definition a part of image recognition?

I'm referring to more advanced text recognition systems that are using neural networks to find and extract text from images like the ones Google and Microsoft are offering on their ML platforms. If ...
Niklas's user avatar
  • 3
3 votes
0 answers
983 views

How to calculate Average Precision for Image Segmentation?

If I've understood things correctly, when calculating AP for Object Detection (e.g. VOC, COCO etc) the procedure is: collect up all the detected objects in your dataset sort the detections by their ...
craq's user avatar
  • 131
3 votes
1 answer
7k views

What is Coarse-to-Fine in the context of neural networks?

I read in many paper that mentions coarse-to-fine as a technique in deep learning, but I could never figure what exactly they mean. Is it related to multiscale inference, where they use coarse and ...
Mong H. Ng's user avatar
2 votes
2 answers
1k views

Equivariance vs Invariance in Convolutional Neural Networks

Could someone please explain to me in details (possibly from mathematical point of view) what is the role of Equivariance and Invariance in Convolutional Neural Networks, and how are they actually ...
Stefan Radonjic's user avatar
1 vote
0 answers
869 views

Examples for multi-input Convolutional Neural Network

I want to create a multi inputs Convolutional Neural Network (cnn) that takes two inputs and produces one output of the inputs class by using Keras. I searched for resources that explain multi inputs ...
N.IT's user avatar
  • 2,015
2 votes
1 answer
4k views

How to visualize image segmentation results

I am using u-net to do semantic segmentation for N>1 classes. The input size is (128,128,3), the output size will be (128,128,N). what is the correct way see the prediction as an image ot size n1 x n2 ...
Hector Blandin's user avatar
1 vote
1 answer
77 views

What exactly does the model generation mean in this diagram?

I've been trying to grasp a research paper on image colorization using neural networks here I am stuck at this diagram. What I need help on, is the Model Generation step after Feature extraction. ...
Sachin Titus's user avatar
2 votes
2 answers
4k views

How to properly save and load an intermediate model in Keras?

I'm working with a model that involves 3 stages of 'nesting' of models in Keras. Conceptually the first is a transfer learning CNN model, for example MobileNetV2. (Model 1) This is then wrapped by a ...
PixelatedBrian's user avatar
8 votes
2 answers
183 views

Neural Network Architecture for Identifying Image Copies

I have a large image collection and wish to identify the images within that collection that appear to copy other images from the collection. To give you a sense of the kinds of image pairs that I ...
duhaime's user avatar
  • 204
5 votes
1 answer
3k views

How design a autoencoder architecture

I would like to build an autoencoder (CNN) to learn a representation of my data. I never built such a network and I have some experience in supervised learning (classification). I would like to know ...
alexandre_d's user avatar
2 votes
0 answers
283 views

Maximum number of classes YOLO net can recognize on mobile

I'm trying to make a mobile app on image recognition(Computer Vision Application) . Does anyone know whether modern day smartphones have enough processing power/memory to recognize, say about 1 ...
R. Rudinthkin's user avatar
3 votes
2 answers
219 views

Simple Object Detection

I want to create a simple object detection tool. So basically an image will be provided to the tool and from that, it has to detect the number of objects. For example An image of a dining table ...
Rahulrr2602's user avatar
3 votes
1 answer
277 views

How to label "other" while labeling image for object detection/classification?

I want to train a model to recognize the different categories of food e.g. rice, burger, apple, pizza, orange and other things. After the first training, I realized that the model is detecting other ...
TSR's user avatar
  • 141
4 votes
0 answers
449 views

Spatial Transformer Networks and Data Augmentation

We are all familiar with the famous Deep Mind paper STN. Upon implementation, such as here, did anyone still use input data augementation such as affine transformations? There are used to make CNN ...
Benedict K.'s user avatar
13 votes
1 answer
9k views

What is difference between Fully Connected layer and Bilinear layer in CNN?

What is the difference between Fully Connected layers and Bilinear layers in deep learning?
N.IT's user avatar
  • 2,015
3 votes
1 answer
5k views

How to convert night image to day image?

I have set of night images which I will be using for self driving. But I want to convert those images into day images. I have developed algorithm based on day image but it is not good for night images ...
Berry's user avatar
  • 87
3 votes
3 answers
1k views

The goal of fine tuning

I would like to ask what is the goal of fine-tuning a VGGNet on my dataset. What does fine-tuning mean? Does it mean to change the weights or keep the weight values?
N.IT's user avatar
  • 2,015
3 votes
2 answers
2k views

Watermark detection using Deep Learning [closed]

I have images with and without watermark. There is only one type of watermark. I have tried VGG16 transfer learning, but results were bad. What are the methods to ...
aCoopML's user avatar
  • 59
1 vote
0 answers
88 views

How to estimate Distance to Obstacles using Lidar's BEV(Bir's Eye view ) Representation?

I am using a implementation that use both camera and Lidar for 3D obstacle detection for self driving cars but I have no idea how to calculate the distance to the obstacles since the Lidar uses the ...
ou2105's user avatar
  • 387