You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess they are the same problems since the training data will also be loaded at the inference stage for the accompaniment model. You need to have >5G RAM for loading the entire training data. One solution is to load only part of the training data if you don't have enough RAM. You can modify the following function to achieve this (by setting the length of the first axis to a smaller number).
defload_data_from_npz(filename):
"""Load and return the training data from a npz file (sparse format)."""withnp.load(filename) asf:
data=np.zeros(f['shape'], np.bool_)
data[[xforxinf['nonzero']]] =Truereturndata
I'm getting a memory bus error on trying to load in train_x_lpd_5_phr.npz, even when attempting to load a pretrained model.
The text was updated successfully, but these errors were encountered: