fish-speech icon indicating copy to clipboard operation
fish-speech copied to clipboard

ImportError: cannot import name 'LRScheduler' from 'torch.optim.lr_scheduler'

Open MrJingLiguo opened this issue 5 months ago • 0 comments

Self Checks

  • [X] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [X] I have searched for existing issues search for existing issues, including closed ones.
  • [X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [X] Please do not modify this template :) and fill in all the required fields.

Cloud or Self Hosted

Cloud

Steps to reproduce

install pytorch

conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch

start.bat

image

An error occurs after clicking

image

✔️ Expected Behavior

No response

❌ Actual Behavior

No response

MrJingLiguo avatar Sep 26 '24 17:09 MrJingLiguo