| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…speechbrain into continual-learning
|
Hello @lucadellalib (and @poonehmousavi?), Thanks for this PR. What is the current state of this PR? Is it ready to review? Many thanks. :-) |
Sorry, something went wrong.
|
Hi @Adel-Moumen, I plan to review this PR very soon. Please @lucadellalib, make sure the tests are passing. @Adel-Moumen, I might request a second quick review after mine. |
Sorry, something went wrong.
|
Hi @lucadellalib, 1. Repository Size: 2. User Convenience: 3. Simplifying Results Analysis: 4.Readme Enhancements: 5. Reference Paper: At some point, we should publish the reference paper on Arxiv and cite it here. This step can also be done later if you prefer. Feel free to change the code to address my comments. Once done, I will proceed and make sure everything is running and providing the expected results. |
Sorry, something went wrong.
|
Thank you @lucadellalib, for addressing my previous comments. After conducting a more in-depth review, I have identified the following additional comments: README: DEPENDENCIES: COMMENTS, DOCTRINGS, AND OTHERS:
RUNNING ISSUES: - I managed to successfully run wavlm/results/wavlm-large/PNN. However, when attempting to run the logger analyzer, I encountered the following error: (myenv) [ravanelm@ng20604 cl-masr]$ python analyze_logs.py wavlm/results/wavlm-large/PNN/0/
PNN: 0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/analyze_logs.py", line 769, in <module>
wer_matrix = compute_wer_matrix(
File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/analyze_logs.py", line 138, in compute_wer_matrix
raise RuntimeError("Fewer locales than expected")
RuntimeError: Fewer locales than expected
Is there something I might be missing? Please note that I ran and stopped this recipe multiple times, which might not be supported.
File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/whisper/train_pnn.py", line 500, in <module> train(hparams, run_opts) File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/whisper/train_pnn.py", line 312, in train test( File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/whisper/train_pnn.py", line 262, in test _, _, test_data = dataio_prepare(hparams, tokenizer) File "/scratch/ravanelm/speechbrain_clmars/recipes/CommonVoice/cl-masr/whisper/train_pnn.py", line 134, in dataio_prepare train_data = sb.dataio.dataset.DynamicItemDataset.from_csv( File "/scratch/ravanelm/speechbrain_clmars/speechbrain/dataio/dataset.py", line 365, in from_csv data = load_data_csv(csv_path, replacements) File "/scratch/ravanelm/speechbrain_clmars/speechbrain/dataio/dataio.py", line 133, in load_data_csv for row in reader: File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/lib/python3.10/csv.py", line 110, in __next__ self.fieldnames File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/lib/python3.10/csv.py", line 97, in fieldnames self._fieldnames = next(self.reader) File "/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Core/python/3.10.2/lib/python3.10/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 111: ordinal not in range(128) |
Sorry, something went wrong.
|
@mravanelli regarding the dependency issue for transformers 4.28 . the reason is that transformers >= 4.30 change the way they manage audio processing. Basically, they remove all model-specific audio feature extraction functions and unify all of them in audio_utils class that supports different audio processing. this causes an issue in a function in our whisper_huggingface.py class that generate mel-spec. This issue is discussed and resolved in this PR. |
Sorry, something went wrong.
|
@mravanelli regarding the UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 111: ordinal not in range(128), I never experienced this issue before. I suspect it's related to the default encoding set on your platform, which might be different from "UTF-8". The code at https://github.com/speechbrain/speechbrain/blob/develop/speechbrain/dataio/dataio.py#L129 does not force "UTF-8", thus according to the docs (https://docs.python.org/3/library/functions.html#open) the platform default encoding is used. Can you please check? To do so open an interactive Python session and run import locale; locale.getpreferredencoding(False). |
Sorry, something went wrong.
|
Here is what I got: Python 3.10.2 (main, Feb 4 2022, 19:10:35) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import locale; locale.getpreferredencoding(False) 'UTF-8' >>> I'm actually using Narval. Are you able to replicate the issue on Narval? |
Sorry, something went wrong.
|
Thank you for making the changes. I'm running various tests and experiments, and so far, everything seems to be working well. Here are the last minor issue to address:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
CL-MASR: A Continual Learning Benchmark for Multilingual ASR
NOTE: when merging we should not automatically delete the branch in the source repository (URL must stay available).