shyamal-b / sst

SST: Single-Stream Temporal Action Proposals (Official Repo)
101 stars 12 forks source link

`Floating point exception (core dumped) error` and solutions. #14

Open XgDuan opened 6 years ago

XgDuan commented 6 years ago

When apply the pretrained model to ActivityNet data, due the video feature sample strategy, sometimes we will obtain video feature sequence with length 0, which will cause the Floating point exception (core dumped) error. My solution is check the length of video_feat every eval_forward and omit those videos with length 0. Hope that the author may read this issue and consider providing a new sample strategy. Also hope that this helps for those encountering the same error.