MichiganCOG / Gaze-Attention

Integrating Human Gaze into Attention for Egocentric Activity Recognition (WACV 2021)
MIT License
24 stars 4 forks source link

Gaze data preparation #3

Closed faderani closed 3 years ago

faderani commented 3 years ago

In the dataloader, I noticed gaze data is read from npy files. There should be an intermediate step where you preprocessed gaze data from the text file in the original labels. Is there any instructions on how to do that? I read in the paper you're using one hot encoded approach where value "1" is stored on the x-y grid where gaze is pointing at. I just need a clarification that if my understanding is true.

kylemin commented 3 years ago

Hi, Thank you for your interest. I have uploaded a python script for generating the pmaps (.npy files): link. I hope it helps.

faderani commented 3 years ago

Thank you so much. Very helpful!