manmay-nakhashi / tortoise-tts-fastest

Faster Tortoise inference then Tortoise Fast Fork
GNU Affero General Public License v3.0
122 stars 9 forks source link

ImportError: cannot import name 'SAMPLERS' from 'tortoise.utils.diffusion' #14

Open TechnoLukas opened 8 months ago

TechnoLukas commented 8 months ago

I completely installed the requirements.txt for this project, but NumPy gave this error "AttributeError: module 'numpy' has no attribute 'complex'" I fixed this error by installing NumPy 1.23 using pip install numpy==1.23.0 And now i faced an issue that there is an error ImportError: cannot import name 'SAMPLERS' from 'tortoise.utils.diffusion' when i am trying to run python scripts/tortoise_tts.py --text "I'm going to speak this" --voice random --preset fast

The Installation guide for this repo is in Readme, but Readme is from different fork. So I did not see installation guide specific for this repo. (Sorry if i missed it)

These are my steps:

  1. git clone https://github.com/manmay-nakhashi/tortoise-tts-fastest
  2. cd tortoise-tts-fastest
  3. pip uninstall tortoise
  4. pip install --upgrade --force-reinstall -r requirements.txt
  5. python setup.py install

Any solutions / recommendations?