scutpaul / DANet

30 stars 3 forks source link

A question about the testing setting #3

Closed maobj closed 3 years ago

maobj commented 3 years ago

Thank you for sharing your code for this good work. I want to consult that how to get the testing performance of query video. Is it calculated by several frames or all frames in the video? In your code in test_DAN.py, it seems like only calculated in 5 frames? Hoping to receive your reply.

scutpaul commented 3 years ago

Hi, we test all frames in the video. The code for testing a video is located at https://github.com/scutpaul/DANet/blob/f0bc57d9b2641c4dda9ce70e2c6f240ce2789069/test_DAN.py#L137

We slice the tested video and input several frames to the network at a time. https://github.com/scutpaul/DANet/blob/f0bc57d9b2641c4dda9ce70e2c6f240ce2789069/test_DAN.py#L152-L158