Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lmdb.Error: /img/msrvtt: No such file or directory #54

Open
giraffeooo opened this issue Mar 27, 2023 · 2 comments
Open

lmdb.Error: /img/msrvtt: No such file or directory #54

giraffeooo opened this issue Mar 27, 2023 · 2 comments

Comments

@giraffeooo
Copy link

Hello, the following problems occurred while the code was running, but I am not sure where this/img/msrvtt is or where the address was passed. In the initial get_ video_ retrieval_ args() function also failed to find the relevant parameter settings. I look forward to your reply!

03/27/2023 07:05:02 - INFO - main - group_datalist 140200
Traceback (most recent call last):
File "src/tasks/run_video_retrieval.py", line 823, in
start_training(input_cfg)
File "src/tasks/run_video_retrieval.py", line 313, in start_training
train_loader, val_loader = setup_dataloaders(cfg, tokenizer)
File "src/tasks/run_video_retrieval.py", line 168, in setup_dataloaders
cfg=cfg, tokenizer=tokenizer, is_train=True
File "src/tasks/run_video_retrieval.py", line 101, in mk_video_ret_dataloader
random_sample_clips=cfg.random_sample_clips
File "/clipbert/src/datasets/dataset_video_retrieval.py", line 29, in init
max_img_size=max_img_size, max_txt_len=max_txt_len)
File "/clipbert/src/datasets/dataset_base.py", line 198, in init
create=False) # readahead=not _check_distributed()
lmdb.Error: /img/msrvtt: No such file or directory

@JisenRen
Copy link

I guess you should download the MSR-VTT dataset and run the preprocessing script inside the repo to generate the LMDB dataset.

@saimaafrin
Copy link

Im also having this issue. Did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants