Skip to content

TypeError: Expected maxsize to be an integer or None #1016

@Adibian

Description

@Adibian

I tried to train FastPitch in google colab and I followed the Quick Start Guide and after downloading the LJSpeech-1.1 dataset when executing the following command:
bash scripts/prepare_dataset.sh

I get the this error:

Processing filelists/ljs_audio_text.txt...
Traceback (most recent call last):
  File "prepare_dataset.py", line 174, in <module>
    main()
  File "prepare_dataset.py", line 129, in main
    pitch_online_method=args.f0_method)
  File "/content/DeepLearningExamples/PyTorch/SpeechSynthesis/FastPitch/fastpitch/data_function.py", line 190, in __init__
    self.betabinomial_interpolator = BetaBinomialInterpolator()
  File "/content/DeepLearningExamples/PyTorch/SpeechSynthesis/FastPitch/fastpitch/data_function.py", line 54, in __init__
    self.bank = functools.lru_cache(beta_binomial_prior_distribution)
  File "/usr/lib/python3.7/functools.py", line 490, in lru_cache
    raise TypeError('Expected maxsize to be an integer or None')
TypeError: Expected maxsize to be an integer or None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions