ashkamath / mdetr

Apache License 2.0
969 stars 125 forks source link

How to define "Negative Tokens" ? #85

Closed jeantirole closed 1 year ago

jeantirole commented 2 years ago

Hello,

I am wondering how to define "negative tokens" in the dataset_dict['images'][0]['tokens_negative'].

Is there any algorithm or rule to make "negative tokens" ?

I couldn't find how to pattern it... !

Thanks,

Best Regards,

Eric.

ashkamath commented 1 year ago

Hey, This was used in some earlier iterations of our code where we were trying to not penalize predictions to parts of the sentence that do not have noun phrases. It was not used in the final version so you don't need to worry about it! The positive tokens are the only ones that are used :)