Skip to content

FileNotFoundError: [Errno 2] No such file or directory: 'datasets/MSVD/frame_tsv/train_32frames.img.tsv' #45

@PureEidolon

Description

@PureEidolon

05/09/2023 23:31:40 - INFO - __main__ - Init model from scratch. 05/09/2023 23:31:40 - INFO - __main__ - Model total parameters: 136106810 05/09/2023 23:31:41 - INFO - __main__ - yaml_file:MSVD/train_32frames.yaml Traceback (most recent call last): File "src/tasks/run_caption_VidSwinBert.py", line 679, in <module> main(args) File "src/tasks/run_caption_VidSwinBert.py", line 657, in main train_dataloader = make_data_loader(args, args.train_yaml, tokenizer, args.distributed, is_train=True) File "/videocap/src/datasets/vl_dataloader.py", line 87, in make_data_loader dataset = build_dataset(args, yaml_file, tokenizer, is_train=is_train) File "/videocap/src/datasets/vl_dataloader.py", line 22, in build_dataset return dataset_class(args, yaml_file, tokenizer, tensorizer, is_train, args.on_memory) File "/videocap/src/datasets/vision_language_tsv.py", line 364, in __init__ super(VisionLanguageTSVYamlDataset, self).__init__( File "/videocap/src/datasets/vision_language_tsv.py", line 44, in __init__ self.visual_tsv = self.get_tsv_file(self.visual_file) File "/videocap/src/datasets/vision_language_tsv.py", line 129, in get_tsv_file tsv_path = find_file_path_in_yaml(tsv_file, self.root) File "/videocap/src/utils/load_files.py", line 73, in find_file_path_in_yaml raise FileNotFoundError( FileNotFoundError: [Errno 2] No such file or directory: 'datasets/MSVD/frame_tsv/train_32frames.img.tsv'

When I try to train with MSVD dataset, the above error is reported
What should I do to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions