def log_and_continue(exn):
    """Call in an exception handler to ignore any exception, isssue a warning, and continue."""
    logging.warning(f"Handling webdataset error ({repr(exn)}). Ignoring.")
    return True
Call in an exception handler to ignore any exception, isssue a warning, and continue.
models/tta/picoaudio/picoaudio/audioldm/clap/training/data.py