long-short-term-transformer icon indicating copy to clipboard operation
long-short-term-transformer copied to clipboard

about custom dataset

Open tghim opened this issue 2 years ago • 1 comments

Thank you to share your great work!

I have something to ask you.

I have my own dataset that I want to apply your LSTR to, and for this I did feature extraction for rgb and flow respectively according to this https://github.com/open-mmlab/mmaction2/tree/master/tools/data/activitynet. However, the feature results came out in pkl format. To use your dataloader, it must be in npy format. How can I get the features out in npy format like you?

tghim avatar Aug 29 '22 06:08 tghim

You just need to convert the feature of each video from .pkl into a single .npy file. The feature should be in shape of L x C, where L is the length of the video and C is the feature dimension of each frame. You can refer the readme for details.

xumingze0308 avatar Aug 31 '22 18:08 xumingze0308

Thank you for your reply!

tghim avatar Sep 05 '22 00:09 tghim