gem
gem copied to clipboard
Error in train_audio_autodecoder.py
Hey, while running the code to train audio manifolds, facing the following error in line 81 of train_audio_autodecoder.py-
train_generalization_dataset = dataio.AudioGeneralizationWrapper(train_audio_dataset, sampling=4096, do_pad=True)
TypeError: __init__() got an unexpected keyword argument 'sampling'
The AudioGeneralizationWrapper given here, doesn't have the sampling argument.
Hi, I pushed a fix to this issue -- let me know if it resolves the problem.
I see you have changed the code to accept the sampling value and assign it to self.sparsity here.
But, in lines like this where we are calling the sparsity function and giving it self.sparsity value which is 4096 for audio manifolds, the sparsity function returns NoneType as the if and elif conditions are checking for sparsity values of 'full', 'sampled' and not for an integer such as 4096.
Hi, sorry about that -- can you try again?