-
Notifications
You must be signed in to change notification settings - Fork 24
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
Memory problems when loading audio dict #20
Comments
Hi, I hope this helps. |
Hi, thanks for the response! If I understand correctly, what you are saying is that after saving the audio dict in h5py format, I have to replace line 27 in dataset.py (self.audio_path = pickle.load(open(audio_path, 'rb'))) for it's equivalent in h5py? In that case, I did that using a replacement for pickle called hickle for saving the dict, but the script still tries to load everything into memory. |
That is correct. You would have to replace line 27 with something like
given that you extracted the audio from videos with my script that resamples to 24kHz and converts the audio to mono, otherwise you use |
Hello,
As part of my M.Sc. thesis, I'm trying to train the model on EPIC-KITCHENS 100 from scratch, but when the script starts loading the audio dict, the process stops and eventually dies. We figured out that it was because it was filling all our RAM (64 GB). Is there any way around this? Because loading the .wav files directly from disk is extremely slow. How much RAM and GPU's did you have when you trained the model?
Thanks!
The text was updated successfully, but these errors were encountered: