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

Preprocess Dataset #198

Open
atanumandal0491 opened this issue May 23, 2021 · 4 comments
Open

Preprocess Dataset #198

atanumandal0491 opened this issue May 23, 2021 · 4 comments

Comments

@atanumandal0491
Copy link

Hi, @usimarit
In 'datasets/asr_dataset.py' line 141 u called line 41 of 'augmentations/augmentation.py', which is calling
self.signal_augmentations = self.parse(config.pop("signal_augment", {}))
self.feature_augmentations = self.parse(config.pop("feature_augment", {}))
In config file no dict of signal_augment is present, whereas feature_augment is showing None, results in outputs as None in sub-class '_augment'.

Can you guide me?

@nglehuy
Copy link
Collaborator

nglehuy commented May 23, 2021

@atanumandal0491 Since version >1.0, I removed the predefined signal augmentations (I prefer augmentations implemented in tensorflow rather than nlpaug - to avoid the use of tf.numpy_function for TPU compatibility). If you want to use signal augmentations, you'll have to code them yourself.
And the feature augmentations methods currently "predefined" are time masking and frequency masking in specaugment.

Showing the error messages is better for me to know what is happening in your case.

@atanumandal0491
Copy link
Author

Hi, I was able to solve the problem. But yet on training using RnntLoss, I am getting "inf" as training loss. Unable to find the solution.

@nglehuy
Copy link
Collaborator

nglehuy commented Jun 1, 2021

@atanumandal0491 Please tell me more about what rnnt loss you are using (warp rnnt, tf rnnt)? What language you are training? What type of text decoding you are using (characters, subwords, sentence piece)? What version you are using?

@atanumandal0491
Copy link
Author

Hi, I did a mail to you.

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

No branches or pull requests

2 participants