fpv-iplab / rulstm

Code for the Paper: Antonino Furnari and Giovanni Maria Farinella. What Would You Expect? Anticipating Egocentric Actions with Rolling-Unrolling LSTMs and Modality Attention. International Conference on Computer Vision, 2019.
http://iplab.dmi.unict.it/rulstm
132 stars 33 forks source link

missing file "features/rgb" #20

Closed MArbane closed 2 years ago

MArbane commented 2 years ago

Hello Dr.Furnari,

Please, when I was trying to implement your feature extraction method, I faced this error :

"FileNotFoundError: [Errno 2] No such file or directory: 'features/rgb'

So please, can you check this file!

Thank you

antoninofurnari commented 2 years ago

Hello, can you please give some more context?

How do you get that error? Which script are you trying to run?

MArbane commented 2 years ago

I was running the script "extract_example_rgb.py" from the FEATEXT file for feature extraction I faced a problem on line 12 "env = lmdb.open('features/rgb', map_size=1099511627776)"

I didn't find the features/rgb directory of the these files waiting for your reply !

antoninofurnari commented 2 years ago

That line of code is supposed to open an lmdb dataset in write mode and create it if it does not exist. Can you check that you actually have a “features” directory? If you don’t, can you create it?

MArbane commented 2 years ago

Hello,

Thank you !!

problem solved, I don't know why but I put "env = lmdb.open('rgb', map_size=1099511627776)" without 2 directories and it works, I will keep it like that thanks again .

antoninofurnari commented 2 years ago

Glad it works now!