dingfengshi / TriDet

[CVPR2023] Code for the paper, TriDet: Temporal Action Detection with Relative Boundary Modeling
MIT License
163 stars 14 forks source link

the loss is 0 when training model with custom dataset #6

Closed OpenSorceYCW closed 1 year ago

OpenSorceYCW commented 1 year ago

Thanks for your excellent work. I meet the problem when I train the model with custom dataset, can you give me some advice to solve it. image thank you, I am looking for you reply!

dingfengshi commented 1 year ago

HI! There are many reasons that might cause this situation. First, is the format of the data annotation JSON consistent with other datasets? Second, do the input features correspond to the parameters in your configuration file? Is the ground truth annotated correctly? You may need to further track intermediate outputs to find out where the issue lies.

OpenSorceYCW commented 1 year ago

Thank your very much! Another problem, I am puzzled about function of truncate_feats in https://github.com/dingfengshi/TriDet/blob/master/libs/datasets/thumos14.py#L182, whether to increase sample diversity? can you explain it detail, thank you!

dingfengshi commented 1 year ago

Thank your very much! Another problem, I am puzzled about function of truncate_feats in https://github.com/dingfengshi/TriDet/blob/master/libs/datasets/thumos14.py#L182, whether to increase sample diversity? can you explain it detail, thank you!

Oh, That's question haha! That is an implementation inherited from Actionformer, which I think is to prevent some long videos from consuming too much memory during training and has nothing to do with the features themselves.

OpenSorceYCW commented 1 year ago

ok, thank you for your reply!

dingfengshi commented 1 year ago

Issue has been sloved