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

Where is the region_descriptions.json? #516

Open
DanevenChin opened this issue Jun 8, 2024 · 0 comments
Open

Where is the region_descriptions.json? #516

DanevenChin opened this issue Jun 8, 2024 · 0 comments

Comments

@DanevenChin
Copy link

Traceback (most recent call last):
File "/data/qdf/deep_learning/MiniGPT-4/train.py", line 105, in
main()
File "/data/qdf/deep_learning/MiniGPT-4/train.py", line 90, in main
datasets = task.build_datasets(cfg)
File "/data/qdf/deep_learning/MiniGPT-4/minigpt4/tasks/base_task.py", line 59, in build_datasets
dataset = builder.build_datasets()
File "/data/qdf/deep_learning/MiniGPT-4/minigpt4/datasets/builders/image_text_pair_builder.py", line 247, in build_datasets
datasets['train'] = dataset_cls(
File "/data/qdf/deep_learning/MiniGPT-4/minigpt4/datasets/datasets/vg_dataset.py", line 27, in init
all_regions = local.get_all_region_descriptions(self.data_dir)
File "/home/a/anaconda3/envs/minigptv/lib/python3.9/site-packages/visual_genome/local.py", line 33, in get_all_region_descriptions
images = json.load(open(data_file))
FileNotFoundError: [Errno 2] No such file or directory: '/data/large_model_datasets/minigpt_v2_data/visual_genome/region_descriptions.json'
image

The link to the region_descriptions.json file cannot be found in the documentation

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

1 participant