ShipuLoveMili / CVPR2022-AURL

This is the implementation of our AURL paper "Alignment-Uniformity aware Representation Learning for Zero-shot Video Classification".
13 stars 2 forks source link

about lmdb files #2

Open zzzhhh1031 opened 2 years ago

zzzhhh1031 commented 2 years ago

Please ask how to generate an imdb file, can you give a description of the generate_imgslmdb.py file

ShipuLoveMili commented 2 years ago

This code is very simple... Here is an introduction to LMDB. https://lmdb.readthedocs.io/en/release/

zzzhhh1031 commented 2 years ago

Thank you for your patience. Since I am a beginner, I will report some errors when I perform start.sh. I think it's because I didn't generate my own lmdb file. So I want to ask if there is kinetics data, how to modify the generate_imgslmdb.py to generate lmdb files,thanks

guuzaa commented 2 years ago

Hi @ShipuLoveMili , In generate_imgslmdb.py, I found a csv file of filepath_csv, but I have no idea how to generate it. Could you share the approach with us ? It would be great if you share the file with us. Thanks in advance. 🤝

ShipuLoveMili commented 2 years ago

image The "mp4" paths are saved in the "filepath_csv".

guuzaa commented 2 years ago

Got it. Thanks 👍 I have uploaded the generator script and the CSV file of HMDB51 Dataset on the Gist. If you have the same problem, I hope it will help you.