seeing-without-looking icon indicating copy to clipboard operation
seeing-without-looking copied to clipboard

where is 100 from?

Open xxxxjj opened this issue 2 years ago • 5 comments

Hello,how does 100 in lines 52 and 53 in the model.py file come from?

xxxxjj avatar May 04 '22 02:05 xxxxjj

100 is the sequence length of the inputs. Note that the input is a sequence of 100 bounding boxes

LourencoVazPato avatar May 06 '22 22:05 LourencoVazPato

How is the sequence length of this input set? Why is the sequence length corresponding to each round of batch_size different when I train my data set? But the coco data set can keep the length of each round of sequence 100.

xxxxjj avatar May 07 '22 12:05 xxxxjj

The models I used to get the predictions outputed a list of 100 object predictions per image by default, are you using a different type of model?

LourencoVazPato avatar May 19 '22 09:05 LourencoVazPato

I'm trying to train the model with a different dataset and number of object detections per image might be lower than 100. When reread the paper, I encountered a sentence like this "Sequences are padded to length 100 (the maximum number of detections often outputted by a detector). Could you explain the padding procedure? Do you add zeros to represent remaining detected bboxes to equalize the length of the sequence to 100?

oayhan1 avatar Aug 26 '22 12:08 oayhan1

I saw line to pad sequence in dataset.py. You're adding 0 to inputs and -1 to targets.

oayhan1 avatar Aug 26 '22 13:08 oayhan1