Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
{'login': 'talhaanwarch', 'id': 37379131, 'node_id': 'MDQ6VXNlcjM3Mzc5MTMx', 'avatar_url': 'https://avatars.githubusercontent.com/u/37379131?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/talhaanwarch', 'html_url': 'https://github.com/talhaanwarch', 'followers_url': 'https://api.github.com/users/talhaanwarch/followers', 'following_url': 'https://api.github.com/users/talhaanwarch/following{/other_user}', 'gists_url': 'https://api.github.com/users/talhaanwarch/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/talhaanwarch/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/talhaanwarch/subscriptions', 'organizations_url': 'https://api.github.com/users/talhaanwarch/orgs', 'repos_url': 'https://api.github.com/users/talhaanwarch/repos', 'events_url': 'https://api.github.com/users/talhaanwarch/events{/privacy}', 'received_events_url': 'https://api.github.com/users/talhaanwarch/received_events', 'type': 'User', 'site_admin': False}
[{'id': 1935892857, 'node_id': 'MDU6TGFiZWwxOTM1ODkyODU3', 'url': 'https://api.github.com/repos/huggingface/datasets/labels/bug', 'name': 'bug', 'color': 'd73a4a', 'default': True, 'description': "Something isn't working"}]
[]
Fixed by installing either resampy<3 or resampy>=4
Hi, when i try to run prepare_dataset function in [fine tuning ASR tutorial 4](https://colab.research.google.com/github/patrickvonplaten/notebooks/blob/master/Fine_tuning_Wav2Vec2_for_English_ASR.ipynb) , i got this error.
I got this error
Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.
There is no other logs available, so i have no clue what is the cause of it.
```

def prepare_dataset(batch):
    audio = batch["path"]
    # batched output is "un-batched"
    batch["input_values"] = processor(audio["array"], sampling_rate=audio["sampling_rate"]).input_values[0]
    batch["input_length"] = len(batch["input_values"])
    with processor.as_target_processor():
        batch["labels"] = processor(batch["text"]).input_ids
    return batch

data = data.map(prepare_dataset, remove_columns=data.column_names["train"],
                      num_proc=4)
```


Specify the actual results or traceback.
There is no traceback except
`Terminating: fork() called from a process already using GNU OpenMP, this is unsafe.`
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 2.4.0
- Platform: Linux-5.15.0-43-generic-x86_64-with-glibc2.29
- Python version: 3.8.10
- PyArrow version: 9.0.0
- Pandas version: 1.4.3

{'url': 'https://api.github.com/repos/huggingface/datasets/issues/4820/reactions', 'total_count': 0, '+1': 0, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}