Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

train_example.py is not working #44

Open
t-dan opened this issue Jan 2, 2025 · 0 comments
Open

train_example.py is not working #44

t-dan opened this issue Jan 2, 2025 · 0 comments

Comments

@t-dan
Copy link

t-dan commented Jan 2, 2025

I have tried to run train_example.py, but it failed in huggingface_hub package:

python train_example.py
2025-01-02 12:41:13.629414: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9360] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
2025-01-02 12:41:13.637409: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
2025-01-02 12:41:13.646797: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1537] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
Traceback (most recent call last):
  File "/auto/plzen4-ntis/home/dtihelka/Experiments/E2TTS.v2/train_example.py", line 26, in <module>
    train_dataset = HFDataset(load_dataset("MushanW/GLOBE")["train"])
  File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2523, in load_dataset
    builder_instance = load_dataset_builder(
  File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 2195, in load_dataset_builder
    dataset_module = dataset_module_factory(
  File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 1846, in dataset_module_factory
    raise e1 from None
  File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 1828, in dataset_module_factory
    ).get_module()
  File "/usr/local/lib/python3.10/dist-packages/datasets/load.py", line 1177, in get_module
    hfh_dataset_info = HfApi(config.HF_ENDPOINT).dataset_info(
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 2150, in dataset_info
    return DatasetInfo(**data)
  File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/hf_api.py", line 770, in __init__
    self.tags = kwargs.pop("tags")
KeyError: 'tags'

How to avoid this issue?
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant