AttributeError: 'Version' object has no attribute 'match'
NONE
I got the same error, and the official website for visual genome is down. Did you solve this problem? 
2023-04-18T02:49:25Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1512358226
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aJMFS
https://api.github.com/repos/huggingface/datasets/issues/comments/1512358226/reactions
2023-04-18T02:49:25Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1512358226
https://avatars.githubusercontent.com/u/59351375?v=4
https://api.github.com/users/yiee38/events{/privacy}
https://api.github.com/users/yiee38/followers
https://api.github.com/users/yiee38/following{/other_user}
https://api.github.com/users/yiee38/gists{/gist_id}
https://github.com/yiee38
yiee38
MDQ6VXNlcjU5MzUxMzc1
https://api.github.com/users/yiee38/orgs
https://api.github.com/users/yiee38/received_events
https://api.github.com/users/yiee38/repos
https://api.github.com/users/yiee38/starred{/owner}{/repo}
https://api.github.com/users/yiee38/subscriptions
User
https://api.github.com/users/yiee38
public
NONE
I am in the same situation now :( 
2023-04-18T04:22:20Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1512413500
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aJZk8
https://api.github.com/repos/huggingface/datasets/issues/comments/1512413500/reactions
2023-04-18T04:22:20Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1512413500
https://avatars.githubusercontent.com/u/39077309?v=4
https://api.github.com/users/Silviase/events{/privacy}
https://api.github.com/users/Silviase/followers
https://api.github.com/users/Silviase/following{/other_user}
https://api.github.com/users/Silviase/gists{/gist_id}
https://github.com/Silviase
Silviase
MDQ6VXNlcjM5MDc3MzA5
https://api.github.com/users/Silviase/orgs
https://api.github.com/users/Silviase/received_events
https://api.github.com/users/Silviase/repos
https://api.github.com/users/Silviase/starred{/owner}{/repo}
https://api.github.com/users/Silviase/subscriptions
User
https://api.github.com/users/Silviase
public
MEMBER
Thanks for reporting, @gulnaz-zh.

I am investigating it.
2023-04-18T06:52:39Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1512536843
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aJ3sL
https://api.github.com/repos/huggingface/datasets/issues/comments/1512536843/reactions
2023-04-18T06:52:39Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1512536843
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
The host server is down: https://visualgenome.org/

We are contacting the dataset authors.
2023-04-18T06:55:57Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1512540169
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aJ4gJ
https://api.github.com/repos/huggingface/datasets/issues/comments/1512540169/reactions
2023-04-18T06:55:57Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1512540169
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
Apart form data host server being down, there is an additional issue with the `datasets` library introduced by this PR:
- #5238

I am working to fix it.
2023-04-18T12:19:42Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1513001105
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aLpCR
https://api.github.com/repos/huggingface/datasets/issues/comments/1513001105/reactions
2023-04-18T12:19:42Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1513001105
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
PR that fixes the AttributeError: https://huggingface.co/datasets/visual_genome/discussions/2
2023-04-18T12:57:08Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1513078734
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aL7_O
https://api.github.com/repos/huggingface/datasets/issues/comments/1513078734/reactions
2023-04-18T12:57:08Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1513078734
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
For the issue with their data host server being down, I have opened a discussion in the "Community" tab of the Hub dataset: https://huggingface.co/datasets/visual_genome/discussions/3
Let's continue the discussion there.
2023-04-18T12:58:01Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1513080255
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5aL8W_
https://api.github.com/repos/huggingface/datasets/issues/comments/1513080255/reactions
2023-04-18T12:58:01Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1513080255
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
MEMBER
The authors just replied to us with their new URL: https://homes.cs.washington.edu/~ranjay/visualgenome/

We have fixed the datasets loading script, which is operative again.
2023-06-30T11:31:17Z
https://github.com/huggingface/datasets/issues/5749#issuecomment-1614523397
https://api.github.com/repos/huggingface/datasets/issues/5749
IC_kwDODunzps5gO6wF
https://api.github.com/repos/huggingface/datasets/issues/comments/1614523397/reactions
2023-06-30T11:31:17Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1614523397
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
### Describe the bug

When I run 
from datasets import load_dataset
data = load_dataset("visual_genome", 'region_descriptions_v1.2.0')

AttributeError: 'Version' object has no attribute 'match'

### Steps to reproduce the bug

from datasets import load_dataset
data = load_dataset("visual_genome", 'region_descriptions_v1.2.0')

### Expected behavior

This is error trace:
Downloading and preparing dataset visual_genome/region_descriptions_v1.2.0 to C:/Users/Acer/.cache/huggingface/datasets/visual_genome/region_descriptions_v1.2.0/1.2.0/136fe5b83f6691884566c5530313288171e053a3b33bfe3ea2e4c8b39abaf7f3...
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[6], line 1
----> 1 data = load_dataset("visual_genome", 'region_descriptions_v1.2.0')

File ~\.conda\envs\aai\Lib\site-packages\datasets\load.py:1791, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, num_proc, storage_options, **config_kwargs)
   1788 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
   1790 # Download and prepare data
-> 1791 builder_instance.download_and_prepare(
   1792     download_config=download_config,
   1793     download_mode=download_mode,
   1794     verification_mode=verification_mode,
   1795     try_from_hf_gcs=try_from_hf_gcs,
   1796     num_proc=num_proc,
   1797     storage_options=storage_options,
   1798 )
   1800 # Build dataset for splits
   1801 keep_in_memory = (
   1802     keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
   1803 )

File ~\.conda\envs\aai\Lib\site-packages\datasets\builder.py:891, in DatasetBuilder.download_and_prepare(self, output_dir, download_config, download_mode, verification_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs)
    889     if num_proc is not None:
    890         prepare_split_kwargs["num_proc"] = num_proc
--> 891     self._download_and_prepare(
    892         dl_manager=dl_manager,
    893         verification_mode=verification_mode,
    894         **prepare_split_kwargs,
    895         **download_and_prepare_kwargs,
    896     )
    897 # Sync info
    898 self.info.dataset_size = sum(split.num_bytes for split in self.info.splits.values())

File ~\.conda\envs\aai\Lib\site-packages\datasets\builder.py:1651, in GeneratorBasedBuilder._download_and_prepare(self, dl_manager, verification_mode, **prepare_splits_kwargs)
   1650 def _download_and_prepare(self, dl_manager, verification_mode, **prepare_splits_kwargs):
-> 1651     super()._download_and_prepare(
   1652         dl_manager,
   1653         verification_mode,
   1654         check_duplicate_keys=verification_mode == VerificationMode.BASIC_CHECKS
   1655         or verification_mode == VerificationMode.ALL_CHECKS,
   1656         **prepare_splits_kwargs,
   1657     )

File ~\.conda\envs\aai\Lib\site-packages\datasets\builder.py:964, in DatasetBuilder._download_and_prepare(self, dl_manager, verification_mode, **prepare_split_kwargs)
    962 split_dict = SplitDict(dataset_name=self.name)
    963 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 964 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
    966 # Checksums verification
    967 if verification_mode == VerificationMode.ALL_CHECKS and dl_manager.record_checksums:

File ~\.cache\huggingface\modules\datasets_modules\datasets\visual_genome\136fe5b83f6691884566c5530313288171e053a3b33bfe3ea2e4c8b39abaf7f3\visual_genome.py:377, in VisualGenome._split_generators(self, dl_manager)
    375 def _split_generators(self, dl_manager):
    376     # Download image meta datas.
--> 377     image_metadatas_dir = dl_manager.download_and_extract(self.config.image_metadata_url)
    378     image_metadatas_file = os.path.join(
    379         image_metadatas_dir, _get_decompressed_filename_from_url(self.config.image_metadata_url)
    380     )
    382     # Download annotations

File ~\.cache\huggingface\modules\datasets_modules\datasets\visual_genome\136fe5b83f6691884566c5530313288171e053a3b33bfe3ea2e4c8b39abaf7f3\visual_genome.py:328, in VisualGenomeConfig.image_metadata_url(self)
    326 @property
    327 def image_metadata_url(self):
--> 328     if not self.version.match(_LATEST_VERSIONS["image_metadata"]):
    329         logger.warning(
    330             f"Latest image metadata version is {_LATEST_VERSIONS['image_metadata']}. Trying to generate a dataset of version: {self.version}. Please double check that image data are unchanged between the two versions."
    331         )
    332     return f"{_BASE_ANNOTATION_URL}/image_data.json.zip"

### Environment info

datasets                  2.11.0
python                    3.11.3