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

TypeError: 'type' object is not subscriptable #16

Closed
QinHsiu opened this issue Jul 5, 2023 · 3 comments
Closed

TypeError: 'type' object is not subscriptable #16

QinHsiu opened this issue Jul 5, 2023 · 3 comments

Comments

@QinHsiu
Copy link

QinHsiu commented Jul 5, 2023

Thanks for your opensource, when I try to run this model, I face the following problem:
File "/mnt/nfs/dev-aigc-0/data1/xiuyuanqin/work/vocos/vocos/modules.py", line 109, in ResBlock1
dilation: tuple[int] = (1, 3, 5),
TypeError: 'type' object is not subscriptable
could you help me with this problem?

@QinHsiu
Copy link
Author

QinHsiu commented Jul 5, 2023

I have fixed this problem by up the python verision from 3.8 to 3.9

@GitYesm
Copy link

GitYesm commented Aug 31, 2023

I have fixed this problem by up the python verision from 3.8 to 3.9
I tried, but it still couldn't

@Jackiexiao
Copy link

upgrade to python 3.10 or use

from typing import Tuple
Tuple[int]

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

4 participants