Closed Tabrez-dev closed 6 months ago
I changed this line: Shift(min_shift=-0.5, max_shift=0.5, p=0.1), to this: Shift(min_fraction=-0.5, max_fraction=0.5, p=0.1), and it worked!
Yes, the args for Shift have changed it seems. It's strange that you are encountering this problem locally though, since the version of audiomentations is pinned here https://github.com/AIWintermuteAI/Speech-to-Intent-Micro/blob/7e6674117c55145d0071d39768c183e63e917479/requirements.txt#L6 How did you install the dependencies?
I was facing some errors when i installed dependencies through requirement.txt. it was fixed by upgrading version of audiomentations.
Also i ran the training for 75 epochs and it showed early stopping at 46th epoch. Is this expected? I believe in the youtube video you said 50 to 100 epochs are good enough. So what can i do to fix this issue?(should i create a new issue since the original issue somewhat is fixed?)
Okay, I guess that means that audiomentations version is not available for your platform....
training for 75 epochs and it showed early stopping at 46th epoch
No, that looks reasonable.
What can be done to make it run for more epochs? Is more epochs necessarily improve accuracy? The model you have trained is for how many epochs?
hello?
Hi, i have seen you have deleted the edited jupter notebook and have done some changes. I am not able to get pass this error it comes before Basic feature extractor (Vanilla Conv2D), can you check this out? Thanks
The error arises in the code when attempting to create a data augmentation pipeline (
aug_pipeline
) using thecreate_aug_pipeline()
function. The function is intended to create a pipeline using theCompose
class from theaudiomentations
library. However, it seems that there is an unexpected keyword argumentmin_shift
being passed to theShift
augmentation. This argument is not recognized by theShift
class.Steps to Reproduce:
Attempt to create a data augmentation pipeline using the provided function
create_aug_pipeline()
.When instantiating the
Shift
augmentation, an unexpected keyword argumentmin_shift
is provided.Expected Behavior:
The data augmentation pipeline should be created without any errors, and the
Shift
augmentation should accept the parameters as expected.Actual Behavior:
An error occurs due to the unexpected keyword argument
min_shift
being passed to theShift
augmentation, causing aTypeError
.Note:
The issue likely requires modification of the parameters being passed to the
Shift
augmentation or adjustment of theaudiomentations
library usage to align with the available parameters.