Progress bar remains at 0%

PLATFORM: Kaggle

The progress bar remains at 0% while loading the dataset even though dataset loads completely fine without any error.
Here’s code snippet:

# INPUT
dataset = load_dataset("audiofolder", data_dir=f"{DATASET_DIR}/train")

# OUTPUT
Resolving data files:   0%|          | 0/275 [00:00<?, ?it/s]

Similar behaviour happens with dataset.map() function. Since progress bar dosen’t showing any progress, I can’t figure out whether my code of dataset.map() function is correct or not.

1 Like

The progress bar in the HF library is quite sensitive, and it sometimes appears and sometimes doesn’t. In the past, there have been cases where it didn’t appear due to bugs.
There may also be cases where it doesn’t work properly if the tqdm version is not compatible.