MaskDINO icon indicating copy to clipboard operation
MaskDINO copied to clipboard

Change number of objects

Open ferchonavarro opened this issue 1 year ago • 5 comments

The default value is to output 100 objects (for all classes) How can I change it to output more objects for instance 300. What do I have to change in the config or code to get this?

ferchonavarro avatar Mar 22 '24 15:03 ferchonavarro

Did you have aa change to look at my question? Thanks in advance.

ferchonavarro avatar Apr 17 '24 11:04 ferchonavarro

@FengLi-ust

I have tried to modify the config to change the number of predicted objects from default 100 to 300

I have tried NUM_OBJECT_QUERIES: 300 and DN_NUM: 300 nevertheless the output is still 100xh,w

Could you point me to the config parameters to change to be able to change the number of predicted objects?

ferchonavarro avatar Apr 18 '24 14:04 ferchonavarro

May I ask if you succeeded, my dataset has only one class, I tried to change NUM_OBJECT_QUERIES to 1 and it ran successfully but I'm not sure if it's right or not!

Small-fly-guy avatar May 07 '24 05:05 Small-fly-guy

@Small-fly-guy the NUM_OBJECT_QUERIES is not related to the number of classes. NUM_OBJECT_QUERIES refers to how many max objects are present in your image, I would not set this to 1 The number of classes will be get from your COCO dataset format.

ferchonavarro avatar May 08 '24 08:05 ferchonavarro

Sorry for the late reply. Can you give more details about changing NUM_OBJECT_QUERIES?

FengLi-ust avatar May 09 '24 12:05 FengLi-ust