ttengwang / PDVC

End-to-End Dense Video Captioning with Parallel Decoding (ICCV 2021)
MIT License
200 stars 23 forks source link

questions about counter_class_rate #33

Closed davidluciolu closed 2 years ago

davidluciolu commented 2 years ago

Hi!

I found that a predefined list called 'counter_class_rate' in ./pdvc/crtirion.py is used as a weight in counter loss. I'm curious about the way to get the list. Is it the frequency of event number of the dataset?

I'd be appreciated if you can answer my question!

ttengwang commented 2 years ago

Yes. It is the frequency of the event number of the dataset.