Hello,
I’m currently experiencing an issue with my code. Here’s the code snippet:
  df = pd.read_csv(self.args["csv_input"])
  ds = Dataset.from_pandas(df)
  ds = ds.map(
    self.process_data,
    num_proc=self.args["num_workers"],
    with_indices=True,
    batched=True,
    batch_size=int(len(df) / self.args["num_workers"]),
    load_from_cache_file=True,
    desc="Processing Data.....",
)
However, the progress bar hangs, and the status is not updating:
Processing Data... (num_proc=10):   0%|        | 0/520 [00:00<?, ? examples/s]
I’m using Python 3.10.13 and datasets-2.15.1.dev0. Any suggestions on resolving this issue would be greatly appreciated.
Thanks a million!