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

minor fixes to the matcha recipe #1829

Merged
merged 1 commit into from
Dec 9, 2024
Merged

minor fixes to the matcha recipe #1829

merged 1 commit into from
Dec 9, 2024

Conversation

JinZr
Copy link
Collaborator

@JinZr JinZr commented Dec 9, 2024

2024-12-09 16:21:17,256 INFO [train.py:572] Maximum memory allocated so far is 1979MB
2024-12-09 16:21:17,398 INFO [checkpoint.py:75] Saving checkpoint to matcha/exp-new-3/bad-model-0.pt
Traceback (most recent call last):
  File "/home/qt06/icefall/egs/ljspeech/TTS/./matcha/train.py", line 723, in <module>
    main()
  File "/home/qt06/icefall/egs/ljspeech/TTS/./matcha/train.py", line 717, in main
    run(rank=0, world_size=1, args=args)
  File "/home/qt06/icefall/egs/ljspeech/TTS/./matcha/train.py", line 668, in run
    train_one_epoch(
  File "/home/qt06/icefall/egs/ljspeech/TTS/./matcha/train.py", line 498, in train_one_epoch
    scaler.step(optimizer)
  File "/home/qt06/icefall/.venv/lib/python3.12/site-packages/torch/amp/grad_scaler.py", line 392, in step
    raise RuntimeError(
RuntimeError: step() has already been called since the last update().

@csukuangfj
Copy link
Collaborator

Thanks!

@JinZr JinZr merged commit 08caa1e into k2-fsa:master Dec 9, 2024
7 of 8 checks passed
@JinZr JinZr deleted the fix/matcha branch December 9, 2024 14:59
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

Successfully merging this pull request may close these issues.

3 participants