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

Speed up the training with saving audios as Numpy arrays #420

Closed
wants to merge 1 commit into from
Closed

Speed up the training with saving audios as Numpy arrays #420

wants to merge 1 commit into from

Conversation

hannarud
Copy link

@hannarud hannarud commented Sep 28, 2022

Training can be easily speed up by using numpy arrays instead of the .wav on each training step. .wav loading is very slow.
This pull request supports both .npy files creating in preprocessing.py and .npy creation on the fly for those datasets that were already preprocessed.
Inspired by #265 and @primepake recommendation (primepake/wav2lip_288x288#19 (comment))

@hannarud hannarud closed this Sep 28, 2022
@hannarud hannarud deleted the training_audio_loading_speed_up branch September 28, 2022 10:32
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.

1 participant