Comments (5)
Yes, I also observed such things before. Yes I also think it's caused by the beam search code sequence_generator.py
. I haven't investigate into this as the code is almost from fairseq, Not sure if people doing MT with fairseq have encountered the same problem.
from espresso.
Yes, I also observed such things before. Yes I also think it's caused by the beam search code
sequence_generator.py
. I haven't investigate into this as the code is almost from fairseq, Not sure if people doing MT with fairseq have encountered the same problem.
Thanks for your prompt reply. I might have a check if the people in MT also have similar things later, or submit an issue in fairseq.
from espresso.
The thread in #55 may suggest the reason: the encoder's convolution may give different output when input features are padded differently in different batches
from espresso.
I would ask if this problem is fixed? I submitted an issue in fairseq, and the author suspects that this problem could be caused by the missing padding mask after each layer. https://github.com/pytorch/fairseq/issues/3078#issuecomment-754858923
from espresso.
After looking at the issue I mentioned in my last post, I agree that the encoder's padding is the cause. But I think it only happens with convolutions (not confirmed yet): the shorter examples in a batch will be padded with different padding frames in different batches, making the convolution kernel being applied across the example boundary get different numbers.
from espresso.
Related Issues (20)
- Stream ASR HOT 1
- TypeError: get_asr_dataset_from_json() got an unexpected keyword argument 'combined' HOT 1
- ONNX exportation of speech_lstm based model HOT 1
- Build PyChain with CPU HOT 6
- WER difference when decode with different batch size HOT 5
- SpecAug slows down training time HOT 4
- WSJ Recipe: "wsj_data_prep.sh: Spot check of command line arguments failed" HOT 1
- SpecAugment is not used due to a typo in the prefetch_called assignment HOT 1
- Getting OOM error at the middle of the training in asr_swbd recipe on lstm encoder decoder model HOT 4
- How can I find Kaldi directory? HOT 37
- Google Colab research creation HOT 1
- token_text as outputs HOT 2
- Which is the difference between stage 5 and stage 7 HOT 1
- Error in training stage of run_chain_e2e_bichar.sh: 'odict_items' object is not an iterator HOT 4
- Transformer LM in ASR HOT 2
- 'frame_subsampling_factor' in chain e2e setup HOT 2
- hydra.errors.ConfigCompositionException: Could not override 'task.data'. HOT 1
- Android Espresso not able to test fragement
- SHA hashes in 'main' branch are different from those in the 'origin/main' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from espresso.