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

assert batch_size * group_size < len(dataset) AssertionError when I train the model #22

Closed
zaynabmu opened this issue May 28, 2022 · 2 comments

Comments

@zaynabmu
Copy link

hello everyone,

@zaidalyafeai @mustafa0x @elgeish @MagedSaeed

I tried to train the model in my dataset and this error comes out could you please help me this is Traceback (most recent call last):
File "/content/drive/MyDrive/FastSpeech2/train.py", line 198, in
main(args, configs)
File "/content/drive/MyDrive/FastSpeech2/train.py", line 32, in main
assert batch_size * group_size < len(dataset)
AssertionError

thank you

@zaidalyafeai
Copy link
Contributor

maybe try smaller batch_size ?

@zaidalyafeai
Copy link
Contributor

closed for no answer from the op.

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

2 participants