smallcorgi / Anticipating-Accidents

Anticipating Accidents in Dashcam Videos (ACCV 2016)
85 stars 25 forks source link

Shuffle each batch #3

Closed hongyuli closed 6 years ago

hongyuli commented 6 years ago

Hi,

I'm trying to reproduce the experiments as you described in your paper. By training and testing based on the code and data you provided, I only got average precision 0.6.

I find that the code does not shuffle the data within each batch. After adding the shuffle, the average precision boosts to 0.7.

So, I'm wondering whether it is a bug and to confirm whether it should be shuffled every time.

Thanks.

Hongyu

Tord-Zhang commented 6 years ago

@hongyuli would you please share the source code?

smallcorgi commented 6 years ago

Hi @hongyuli ,

I only shuffled all batches, but I didn't shuffle data within each batch. Yes, maybe shuffle data within each batch can get hight average precision.