anonymoussubmitter222 commited on
Commit
ff6a1ed
1 Parent(s): c237ceb

now handles stereo input

Browse files
app.py CHANGED
@@ -442,7 +442,12 @@ def treat_wav_file(file_mic,file_upload ,asr=asr_brain, device="cpu") :
442
  wav = file_mic
443
  else:
444
  wav = file_upload
445
- sig, sr = torchaudio.load(wav)
 
 
 
 
 
446
  tensor_wav = sig.to(device)
447
  resampled = torchaudio.functional.resample( tensor_wav, sr, 16000)
448
  sentence = asr.treat_wav(resampled)
 
442
  wav = file_mic
443
  else:
444
  wav = file_upload
445
+ info = torchaudio.info(wav)
446
+ sr = info.sample_rate
447
+ sig = sb.dataio.dataio.read_audio(wav)
448
+ if len(sig.shape)>1 :
449
+ sig = torch.mean(sig, dim=1)
450
+ sig = torch.unsqueeze(sig, 0)
451
  tensor_wav = sig.to(device)
452
  resampled = torchaudio.functional.resample( tensor_wav, sr, 16000)
453
  sentence = asr.treat_wav(resampled)
semi_wavlm_large_tunisian_ctc/1234/app.py CHANGED
@@ -442,7 +442,12 @@ def treat_wav_file(file_mic,file_upload ,asr=asr_brain, device="cpu") :
442
  wav = file_mic
443
  else:
444
  wav = file_upload
445
- sig, sr = torchaudio.load(wav)
 
 
 
 
 
446
  tensor_wav = sig.to(device)
447
  resampled = torchaudio.functional.resample( tensor_wav, sr, 16000)
448
  sentence = asr.treat_wav(resampled)
 
442
  wav = file_mic
443
  else:
444
  wav = file_upload
445
+ info = torchaudio.info(wav)
446
+ sr = info.sample_rate
447
+ sig = sb.dataio.dataio.read_audio(wav)
448
+ if len(sig.shape)>1 :
449
+ sig = torch.mean(sig, dim=1)
450
+ sig = torch.unsqueeze(sig, 0)
451
  tensor_wav = sig.to(device)
452
  resampled = torchaudio.functional.resample( tensor_wav, sr, 16000)
453
  sentence = asr.treat_wav(resampled)
semi_wavlm_large_tunisian_ctc/1234/env.log CHANGED
@@ -473,7 +473,7 @@ youtube-dl==2021.6.6
473
  zipp==3.6.0
474
  ==============================
475
  Git revision:
476
- 8ae3bec
477
  ==============================
478
  CUDA version:
479
  11.7
 
473
  zipp==3.6.0
474
  ==============================
475
  Git revision:
476
+ c237ceb
477
  ==============================
478
  CUDA version:
479
  11.7
semi_wavlm_large_tunisian_ctc/1234/log.txt CHANGED
@@ -2916,3 +2916,653 @@ botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http:
2916
  2023-09-25 12:57:02,198 - matplotlib.pyplot - DEBUG - Loaded backend agg version unknown.
2917
  2023-09-25 12:57:02,271 - pydub.converter - DEBUG - subprocess.call(['ffmpeg', '-y', '-i', '/tmp/gradio/8b87809fc288611c10997e7489b7ad1574e4255d/audio.wav', '-acodec', 'pcm_s32le', '-vn', '-f', 'wav', '-'])
2918
  2023-09-25 12:57:02,695 - matplotlib.pyplot - DEBUG - Loaded backend TkAgg version unknown.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2916
  2023-09-25 12:57:02,198 - matplotlib.pyplot - DEBUG - Loaded backend agg version unknown.
2917
  2023-09-25 12:57:02,271 - pydub.converter - DEBUG - subprocess.call(['ffmpeg', '-y', '-i', '/tmp/gradio/8b87809fc288611c10997e7489b7ad1574e4255d/audio.wav', '-acodec', 'pcm_s32le', '-vn', '-f', 'wav', '-'])
2918
  2023-09-25 12:57:02,695 - matplotlib.pyplot - DEBUG - Loaded backend TkAgg version unknown.
2919
+ 2023-09-25 15:11:48,096 - speechbrain.core - INFO - Beginning experiment!
2920
+ 2023-09-25 15:11:48,096 - speechbrain.core - INFO - Experiment folder: semi_wavlm_large_tunisian_ctc/1234
2921
+ 2023-09-25 15:11:48,652 - speechbrain.utils.superpowers - DEBUG - abkhazia==1.0
2922
+ absl-py==0.11.0
2923
+ aiofiles==23.2.1
2924
+ aiohttp==3.8.0
2925
+ aiosignal==1.2.0
2926
+ alabaster==0.7.12
2927
+ alembic==1.7.4
2928
+ altair==4.2.0
2929
+ altgraph==0.17
2930
+ antlr4-python3-runtime==4.9.3
2931
+ anyio==3.6.2
2932
+ appdirs==1.4.4
2933
+ argcomplete==1.12.2
2934
+ argon2-cffi==20.1.0
2935
+ arrow==1.2.3
2936
+ asgiref==3.6.0
2937
+ asteroid-filterbanks==0.4.0
2938
+ astunparse==1.6.3
2939
+ async-generator==1.10
2940
+ async-timeout==4.0.0
2941
+ attrdict==2.0.1
2942
+ attrs==20.3.0
2943
+ audeer==1.16.0
2944
+ audformat==0.11.5
2945
+ audinterface==0.7.0
2946
+ audiofile==1.0.0
2947
+ audiomentations==0.25.0
2948
+ audioread==2.1.9
2949
+ audobject==0.4.14
2950
+ audresample==0.1.6
2951
+ -e git+https://github.com/facebookresearch/WavAugment.git@54afcdb00ccc852c2f030f239f8532c9562b550e#egg=augment
2952
+ autopage==0.4.0
2953
+ Babel==2.9.0
2954
+ backcall==0.2.0
2955
+ backports.cached-property==1.0.2
2956
+ beautifulsoup4==4.10.0
2957
+ black==19.10b0
2958
+ bleach==3.3.0
2959
+ blessed==1.20.0
2960
+ boto3==1.20.2
2961
+ botocore==1.23.2
2962
+ bpemb==0.3.4
2963
+ braceexpand==0.1.7
2964
+ cachetools==4.2.0
2965
+ certifi @ file:///croot/certifi_1671487769961/work/certifi
2966
+ cffi==1.14.3
2967
+ cfgv==3.2.0
2968
+ chardet==3.0.4
2969
+ charset-normalizer==2.0.7
2970
+ click==7.1.2
2971
+ cliff==3.9.0
2972
+ clldutils==3.5.4
2973
+ cloudpickle==2.2.1
2974
+ cmaes==0.8.2
2975
+ cmake==3.18.4.post1
2976
+ cmd2==2.2.0
2977
+ colorama==0.4.4
2978
+ colorlog==4.6.2
2979
+ configparser==5.1.0
2980
+ conllu==4.5.3
2981
+ croniter==1.3.15
2982
+ cryptography==38.0.4
2983
+ csrgraph==0.1.28
2984
+ csvw==1.8.1
2985
+ cycler==0.10.0
2986
+ Cython==0.29.21
2987
+ dataclasses==0.6
2988
+ dateutils==0.6.12
2989
+ decorator==4.4.2
2990
+ deepdiff==6.3.0
2991
+ deepspeech==0.9.1
2992
+ defusedxml==0.7.1
2993
+ Deprecated==1.2.14
2994
+ dill==0.3.3
2995
+ Distance==0.1.3
2996
+ distlib==0.3.1
2997
+ Django==3.2.16
2998
+ django-auditlog==2.2.1
2999
+ django-filter==22.1
3000
+ django-js-asset==1.2.2
3001
+ django-mptt==0.14.0
3002
+ djangorestframework==3.14.0
3003
+ docker-pycreds==0.4.0
3004
+ docopt==0.6.2
3005
+ docutils==0.16
3006
+ drf-excel==2.2.0
3007
+ drf-flex-fields==1.0.0
3008
+ drf-renderer-xlsx==0.4.1
3009
+ easyocr==1.2.1
3010
+ editdistance==0.6.0
3011
+ einops==0.3.2
3012
+ emoji==2.2.0
3013
+ entrypoints==0.3
3014
+ et-xmlfile==1.1.0
3015
+ exceptiongroup==1.1.0
3016
+ farasapy==0.0.14
3017
+ fastapi==0.98.0
3018
+ fastjsonschema==2.17.1
3019
+ fasttext==0.9.2
3020
+ ffmpeg-python==0.2.0
3021
+ ffmpy==0.3.0
3022
+ filelock==3.0.12
3023
+ flair==0.12.2
3024
+ flake8==3.7.9
3025
+ flatbuffers==1.12
3026
+ frozendict==2.0.7
3027
+ frozenlist==1.2.0
3028
+ fsspec==2021.11.0
3029
+ ftfy==6.1.1
3030
+ future==0.18.2
3031
+ g2p-en==2.1.0
3032
+ gast==0.3.3
3033
+ gdown==4.4.0
3034
+ gdrive==0.1.5
3035
+ gensim==4.0.1
3036
+ gitdb==4.0.9
3037
+ GitPython==3.1.24
3038
+ google-api-core==2.11.1
3039
+ google-api-python-client==2.43.0
3040
+ google-auth==1.24.0
3041
+ google-auth-httplib2==0.1.0
3042
+ google-auth-oauthlib==0.5.3
3043
+ google-pasta==0.2.0
3044
+ googleapis-common-protos==1.59.1
3045
+ gradio==3.44.4
3046
+ gradio-client==0.5.1
3047
+ greenlet==1.1.2
3048
+ grpcio==1.32.0
3049
+ h11==0.14.0
3050
+ h5features==1.3.2
3051
+ h5py==2.10.0
3052
+ hierarchy==0.4.0
3053
+ hmmlearn==0.2.8
3054
+ htk-io==0.5
3055
+ httpcore==0.16.3
3056
+ httplib2==0.22.0
3057
+ httpx==0.23.3
3058
+ huggingface-hub==0.15.1
3059
+ hydra-colorlog==0.1.4
3060
+ hydra-core==1.3.2
3061
+ hyperopt==0.2.7
3062
+ HyperPyYAML==1.1.0
3063
+ hypothesis==6.61.2
3064
+ identify==1.5.10
3065
+ idna==2.10
3066
+ imageio==2.9.0
3067
+ imagesize==1.2.0
3068
+ importlib-metadata==4.8.1
3069
+ importlib-resources==5.2.2
3070
+ inflect==5.3.0
3071
+ inquirer==3.1.3
3072
+ ipadic==1.0.0
3073
+ ipyevents==2.0.1
3074
+ ipykernel==5.3.4
3075
+ ipython==7.19.0
3076
+ ipython-genutils==0.2.0
3077
+ ipywebrtc==0.6.0
3078
+ ipywidgets==7.6.3
3079
+ iso-639==0.4.5
3080
+ isodate==0.6.0
3081
+ isort==4.3.21
3082
+ itsdangerous==2.1.2
3083
+ Janome==0.5.0
3084
+ jedi==0.17.2
3085
+ jeepney==0.8.0
3086
+ jieba==0.42.1
3087
+ Jinja2==3.0.3
3088
+ jiwer==2.2.0
3089
+ jmespath==0.10.0
3090
+ joblib==0.17.0
3091
+ jsonschema==3.2.0
3092
+ julius==0.2.7
3093
+ jupyter-client==6.1.7
3094
+ jupyter-core==4.7.0
3095
+ jupyterlab-pygments==0.1.2
3096
+ jupyterlab-widgets==1.0.0
3097
+ kaitaistruct==0.9
3098
+ kaldi-io==0.9.4
3099
+ kaldi-python-io==1.2.2
3100
+ kaldiio==2.17.2
3101
+ kenlm @ https://github.com/kpu/kenlm/archive/master.zip
3102
+ Keras-Preprocessing==1.1.2
3103
+ kiwisolver==1.3.1
3104
+ lang-trans==0.6.0
3105
+ langdetect==1.0.9
3106
+ latexcodec==2.0.1
3107
+ ldap3==2.9.1
3108
+ librosa==0.9.0
3109
+ lightning-cloud==0.5.37
3110
+ lightning-utilities==0.8.0
3111
+ linkify-it-py==1.0.3
3112
+ lit==16.0.6
3113
+ llvmlite==0.35.0
3114
+ lxml==4.9.0
3115
+ Mako==1.1.5
3116
+ Markdown==3.3.3
3117
+ markdown-it-py==3.0.0
3118
+ MarkupSafe==2.1.3
3119
+ marshmallow==3.14.0
3120
+ matplotlib==3.3.3
3121
+ mccabe==0.6.1
3122
+ mcd==0.4
3123
+ mdit-py-plugins==0.3.3
3124
+ mdurl==0.1.2
3125
+ mecab-python3==1.0.3
3126
+ megatron-lm==2.2.0
3127
+ metrics==0.3.3
3128
+ mido==1.2.10
3129
+ mistune==0.8.4
3130
+ more-itertools==8.6.0
3131
+ mpld3==0.3
3132
+ mpmath==1.2.1
3133
+ multidict==5.2.0
3134
+ multiprocess==0.70.11.1
3135
+ nbclient==0.5.3
3136
+ nbconvert==5.6.1
3137
+ nbformat==5.9.0
3138
+ NEMO==4.3.2
3139
+ nemo-toolkit==1.4.0
3140
+ nest-asyncio==1.5.1
3141
+ networkx==2.8.8
3142
+ nltk==3.2.4
3143
+ nodeenv==1.5.0
3144
+ normalize==2.0.2
3145
+ notebook==6.3.0
3146
+ numba==0.52.0
3147
+ numpy==1.19.4
3148
+ nvidia-cublas-cu11==11.10.3.66
3149
+ nvidia-cuda-cupti-cu11==11.7.101
3150
+ nvidia-cuda-nvrtc-cu11==11.7.99
3151
+ nvidia-cuda-runtime-cu11==11.7.99
3152
+ nvidia-cudnn-cu11==8.5.0.96
3153
+ nvidia-cufft-cu11==10.9.0.58
3154
+ nvidia-curand-cu11==10.2.10.91
3155
+ nvidia-cusolver-cu11==11.4.0.1
3156
+ nvidia-cusparse-cu11==11.7.4.91
3157
+ nvidia-nccl-cu11==2.14.3
3158
+ nvidia-nvtx-cu11==11.7.91
3159
+ oauthlib==3.1.0
3160
+ omegaconf==2.3.0
3161
+ onnx==1.10.2
3162
+ OpenCC==1.1.2
3163
+ opencv-python==4.4.0.46
3164
+ openpyxl==3.0.9
3165
+ opensmile==2.2.0
3166
+ opt-einsum==3.3.0
3167
+ optuna==2.10.0
3168
+ ordered-set==4.1.0
3169
+ orjson==3.8.4
3170
+ oyaml==1.0
3171
+ packaging==22.0
3172
+ pandas==1.2.5
3173
+ pandocfilters==1.4.3
3174
+ pangu==4.0.6.1
3175
+ parameterized==0.8.1
3176
+ parso==0.7.1
3177
+ pathlib2==2.3.7.post1
3178
+ pathspec==0.5.5
3179
+ pathtools==0.1.2
3180
+ pbr==5.6.0
3181
+ pefile==2019.4.18
3182
+ pescador==2.1.0
3183
+ pesq==0.0.3
3184
+ pexpect==4.8.0
3185
+ phonemizer==2.2.1
3186
+ pickleshare==0.7.5
3187
+ Pillow==9.3.0
3188
+ pip-api==0.0.23
3189
+ pipreqs==0.4.11
3190
+ pluggy==0.13.1
3191
+ pooch==1.3.0
3192
+ portalocker==2.3.2
3193
+ pptree==3.1
3194
+ pre-commit==2.9.0
3195
+ preprocessing==0.1.13
3196
+ pretty-midi==0.2.9
3197
+ prettytable==2.2.1
3198
+ primePy==1.3
3199
+ progressbar2==3.53.1
3200
+ prometheus-client==0.10.1
3201
+ promise==2.3
3202
+ prompt-toolkit==3.0.8
3203
+ protobuf==3.20.3
3204
+ psutil==5.6.6
3205
+ ptyprocess==0.6.0
3206
+ py==1.9.0
3207
+ py-espeak-ng==0.1.8
3208
+ py4j==0.10.9.7
3209
+ pyannote.audio==2.1.1
3210
+ pyannote.core==4.5
3211
+ pyannote.database==4.1.3
3212
+ pyannote.metrics==3.2.1
3213
+ pyannote.pipeline==2.3
3214
+ pyannotebook==0.1.0.dev0
3215
+ PyArabic==0.6.15
3216
+ pyarrow==3.0.0
3217
+ pyasn1==0.4.8
3218
+ pyasn1-modules==0.2.8
3219
+ pybind11==2.8.1
3220
+ pybtex==0.24.0
3221
+ pybtex-docutils==1.0.1
3222
+ pycodestyle==2.5.0
3223
+ pycparser==2.20
3224
+ pycryptodome==3.16.0
3225
+ pyctcdecode==0.4.0
3226
+ pydantic==1.10.4
3227
+ pyDeprecate==0.3.1
3228
+ pydub==0.25.1
3229
+ pyflakes==2.1.1
3230
+ Pygments==2.15.1
3231
+ pygtrie==2.5.0
3232
+ PyJWT==2.7.0
3233
+ pymodbus==2.5.3
3234
+ pyparsing==2.4.7
3235
+ pyperclip==1.8.2
3236
+ pypinyin==0.43.0
3237
+ pyrsistent==0.17.3
3238
+ pyserial==3.5
3239
+ PySocks==1.7.1
3240
+ pystoi==0.3.3
3241
+ pytest==5.4.1
3242
+ pytest-runner==5.3.1
3243
+ python-bidi==0.4.2
3244
+ python-crfsuite==0.9.7
3245
+ python-dateutil==2.8.2
3246
+ python-editor==1.0.4
3247
+ python-Levenshtein==0.12.2
3248
+ python-multipart==0.0.5
3249
+ python-utils==2.4.0
3250
+ pytorch-lightning==1.6.5
3251
+ pytorch-metric-learning==1.7.3
3252
+ pytorch-revgrad==0.2.0
3253
+ pytube==11.0.1
3254
+ pytz==2022.6
3255
+ PyWavelets==1.1.1
3256
+ PyYAML==6.0
3257
+ pyzmq==20.0.0
3258
+ rapidfuzz==1.8.2
3259
+ readchar==4.0.5
3260
+ regex==2020.11.13
3261
+ requests==2.28.1
3262
+ requests-oauthlib==1.3.0
3263
+ resampy==0.2.2
3264
+ rfc3986==1.4.0
3265
+ rich==13.4.2
3266
+ richenum==1.3.1
3267
+ rsa==4.7
3268
+ ruamel.yaml==0.17.21
3269
+ ruamel.yaml.clib==0.2.7
3270
+ s3m==1.1.0
3271
+ s3transfer==0.5.0
3272
+ sacrebleu==2.0.0
3273
+ sacremoses==0.0.44
3274
+ safetensors==0.3.1
3275
+ scikit-image==0.18.1
3276
+ scikit-learn==0.23.2
3277
+ scipy==1.5.4
3278
+ -e git+https://github.com/sanghack81/SDCIT@00d060dde733fde9345154a494f81e97fb395ca7#egg=SDCIT
3279
+ seaborn==0.11.1
3280
+ SecretStorage==3.3.3
3281
+ segments==2.1.3
3282
+ segtok==1.5.11
3283
+ semantic-version==2.10.0
3284
+ semver==2.13.0
3285
+ Send2Trash==1.5.0
3286
+ sentencepiece==0.1.99
3287
+ sentry-sdk==1.4.3
3288
+ shellingham==1.4.0
3289
+ shortuuid==1.0.7
3290
+ SIDEKIT==1.3.8.5.2
3291
+ simplejson==3.17.5
3292
+ singledispatchmethod==1.0
3293
+ six==1.15.0
3294
+ smart-open==5.0.0
3295
+ smmap==5.0.0
3296
+ sniffio==1.3.0
3297
+ snowballstemmer==2.0.0
3298
+ sortedcollections==2.1.0
3299
+ sortedcontainers==2.4.0
3300
+ sounddevice==0.4.5
3301
+ SoundFile==0.10.3.post1
3302
+ soupsieve==2.3
3303
+ sox==1.4.1
3304
+ sparsemax==0.1.9
3305
+ speechbrain==0.5.14
3306
+ sphfile==1.0.3
3307
+ Sphinx==3.3.1
3308
+ sphinx-rtd-theme==0.2.4
3309
+ sphinxcontrib-applehelp==1.0.2
3310
+ sphinxcontrib-bibtex==2.4.1
3311
+ sphinxcontrib-devhelp==1.0.2
3312
+ sphinxcontrib-htmlhelp==1.0.3
3313
+ sphinxcontrib-jsmath==1.0.1
3314
+ sphinxcontrib-qthelp==1.0.3
3315
+ sphinxcontrib-serializinghtml==1.1.4
3316
+ SQLAlchemy==1.4.25
3317
+ sqlitedict==2.1.0
3318
+ sqlparse==0.4.2
3319
+ stanza==1.4.2
3320
+ starlette==0.27.0
3321
+ starsessions==1.3.0
3322
+ stevedore==3.4.0
3323
+ subprocess32==3.5.4
3324
+ sympy==1.9
3325
+ tabulate==0.8.9
3326
+ tensorboard==2.4.0
3327
+ tensorboard-plugin-wit==1.7.0
3328
+ tensorboardX==2.6.1
3329
+ tensorflow==2.4.0
3330
+ tensorflow-estimator==2.4.0
3331
+ termcolor==1.1.0
3332
+ terminado==0.9.4
3333
+ testpath==0.4.4
3334
+ threadpoolctl==2.1.0
3335
+ tifffile==2020.12.8
3336
+ tikzplotlib==0.9.8
3337
+ tinycss2==1.2.1
3338
+ tkseem==0.0.3
3339
+ tokenizers==0.13.3
3340
+ toml==0.10.2
3341
+ toolz==0.12.0
3342
+ torch==1.13.1
3343
+ torch-audiomentations==0.11.0
3344
+ torch-pitch-shift==1.2.4
3345
+ torch-stft==0.1.4
3346
+ torchaudio==0.13.1
3347
+ torchmetrics==0.11.4
3348
+ torchvision==0.14.1
3349
+ tornado==6.1
3350
+ tqdm==4.61.1
3351
+ trackrip==1.2.1
3352
+ traitlets==5.9.0
3353
+ transformer-smaller-training-vocab==0.3.1
3354
+ transformers==4.30.2
3355
+ triton==2.0.0
3356
+ typed-ast==1.4.1
3357
+ typer==0.4.0
3358
+ typing-extensions==4.4.0
3359
+ uc-micro-py==1.0.1
3360
+ Unidecode==1.3.2
3361
+ uritemplate==3.0.1
3362
+ urllib3==1.26.2
3363
+ uvicorn==0.20.0
3364
+ versioneer==0.28
3365
+ virtualenv==20.2.1
3366
+ wandb==0.12.6
3367
+ wcwidth==0.2.5
3368
+ webdataset==0.1.62
3369
+ webencodings==0.5.1
3370
+ websocket-client==1.6.1
3371
+ websockets==10.4
3372
+ Werkzeug==1.0.1
3373
+ wget==3.2
3374
+ widgetsnbextension==3.5.1
3375
+ Wikipedia-API==0.6.0
3376
+ wordninja==2.0.0
3377
+ wrapt==1.12.1
3378
+ xmltodict==0.13.0
3379
+ xxhash==2.0.0
3380
+ yamllint==1.23.0
3381
+ yarg==0.1.9
3382
+ yarl==1.7.2
3383
+ yaspin==2.1.0
3384
+ youtokentome==1.0.6
3385
+ youtube-dl==2021.6.6
3386
+ zipp==3.6.0
3387
+
3388
+
3389
+ 2023-09-25 15:11:48,693 - speechbrain.utils.superpowers - DEBUG - c237ceb
3390
+
3391
+
3392
+ 2023-09-25 15:11:48,757 - speechbrain.dataio.encoder - DEBUG - Loaded categorical encoding from semi_wavlm_large_tunisian_ctc/1234/save/label_encoder.txt
3393
+ 2023-09-25 15:11:48,757 - speechbrain.dataio.encoder - INFO - Load called, but CTCTextEncoder is not empty. Loaded data will overwrite everything. This is normal if there is e.g. an unk label defined at init.
3394
+ 2023-09-25 15:11:48,758 - speechbrain.dataio.encoder - DEBUG - Loaded categorical encoding from semi_wavlm_large_tunisian_ctc/1234/save/label_encoder.txt
3395
+ 2023-09-25 15:11:51,254 - pyctcdecode.decoder - INFO - Using arpa instead of binary LM file, decoder instantiation might be slow.
3396
+ 2023-09-25 15:11:51,360 - pyctcdecode.alphabet - INFO - Alphabet determined to be of regular style.
3397
+ 2023-09-25 15:11:51,425 - pyctcdecode.alphabet - WARNING - Unigrams and labels don't seem to agree.
3398
+ 2023-09-25 15:11:52,739 - speechbrain.core - INFO - Info: auto_mix_prec arg from hparam file is used
3399
+ 2023-09-25 15:11:52,740 - speechbrain.core - INFO - Info: ckpt_interval_minutes arg from hparam file is used
3400
+ 2023-09-25 15:11:52,743 - speechbrain.core - INFO - 314.4M trainable parameters in ASR
3401
+ 2023-09-25 15:11:52,745 - speechbrain.utils.checkpoints - INFO - Loading a checkpoint from semi_wavlm_large_tunisian_ctc/1234/save/CKPT+2023-09-05+01-09-23+00
3402
+ 2023-09-25 15:11:53,874 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.gradio.app:443
3403
+ 2023-09-25 15:11:53,877 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): checkip.amazonaws.com:443
3404
+ 2023-09-25 15:11:53,877 - asyncio - DEBUG - Using selector: EpollSelector
3405
+ 2023-09-25 15:11:53,905 - asyncio - DEBUG - Using selector: EpollSelector
3406
+ 2023-09-25 15:11:53,913 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:7860
3407
+ 2023-09-25 15:11:53,914 - urllib3.connectionpool - DEBUG - http://127.0.0.1:7860 "GET /startup-events HTTP/1.1" 200 5
3408
+ 2023-09-25 15:11:53,941 - botocore.hooks - DEBUG - Changing event name from creating-client-class.iot-data to creating-client-class.iot-data-plane
3409
+ 2023-09-25 15:11:53,942 - botocore.hooks - DEBUG - Changing event name from before-call.apigateway to before-call.api-gateway
3410
+ 2023-09-25 15:11:53,943 - botocore.hooks - DEBUG - Changing event name from request-created.machinelearning.Predict to request-created.machine-learning.Predict
3411
+ 2023-09-25 15:11:53,944 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.autoscaling.CreateLaunchConfiguration to before-parameter-build.auto-scaling.CreateLaunchConfiguration
3412
+ 2023-09-25 15:11:53,944 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.route53 to before-parameter-build.route-53
3413
+ 2023-09-25 15:11:53,944 - botocore.hooks - DEBUG - Changing event name from request-created.cloudsearchdomain.Search to request-created.cloudsearch-domain.Search
3414
+ 2023-09-25 15:11:53,944 - botocore.hooks - DEBUG - Changing event name from docs.*.autoscaling.CreateLaunchConfiguration.complete-section to docs.*.auto-scaling.CreateLaunchConfiguration.complete-section
3415
+ 2023-09-25 15:11:53,946 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.logs.CreateExportTask to before-parameter-build.cloudwatch-logs.CreateExportTask
3416
+ 2023-09-25 15:11:53,946 - botocore.hooks - DEBUG - Changing event name from docs.*.logs.CreateExportTask.complete-section to docs.*.cloudwatch-logs.CreateExportTask.complete-section
3417
+ 2023-09-25 15:11:53,946 - botocore.hooks - DEBUG - Changing event name from before-parameter-build.cloudsearchdomain.Search to before-parameter-build.cloudsearch-domain.Search
3418
+ 2023-09-25 15:11:53,946 - botocore.hooks - DEBUG - Changing event name from docs.*.cloudsearchdomain.Search.complete-section to docs.*.cloudsearch-domain.Search.complete-section
3419
+ 2023-09-25 15:11:53,947 - botocore.utils - DEBUG - IMDS ENDPOINT: http://169.254.169.254/
3420
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: env
3421
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: assume-role
3422
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: assume-role-with-web-identity
3423
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: sso
3424
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: shared-credentials-file
3425
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: custom-process
3426
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: config-file
3427
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: ec2-credentials-file
3428
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: boto-config
3429
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: container-role
3430
+ 2023-09-25 15:11:53,948 - botocore.credentials - DEBUG - Looking for credentials via: iam-role
3431
+ 2023-09-25 15:11:53,949 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 169.254.169.254:80
3432
+ 2023-09-25 15:11:54,032 - urllib3.connectionpool - DEBUG - https://checkip.amazonaws.com:443 "GET / HTTP/1.1" 200 14
3433
+ 2023-09-25 15:11:54,036 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.gradio.app:443
3434
+ 2023-09-25 15:11:54,644 - urllib3.connectionpool - DEBUG - https://api.gradio.app:443 "GET /pkg-version HTTP/1.1" 200 21
3435
+ 2023-09-25 15:11:54,929 - urllib3.connectionpool - DEBUG - https://api.gradio.app:443 "POST /gradio-initiated-analytics/ HTTP/1.1" 200 None
3436
+ 2023-09-25 15:11:54,950 - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/api/token: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
3437
+ Traceback (most recent call last):
3438
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
3439
+ conn = connection.create_connection(
3440
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
3441
+ raise err
3442
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
3443
+ sock.connect(sa)
3444
+ socket.timeout: timed out
3445
+
3446
+ During handling of the above exception, another exception occurred:
3447
+
3448
+ Traceback (most recent call last):
3449
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/httpsession.py", line 385, in send
3450
+ urllib_response = conn.urlopen(
3451
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
3452
+ retries = retries.increment(
3453
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/retry.py", line 506, in increment
3454
+ raise six.reraise(type(error), error, _stacktrace)
3455
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/packages/six.py", line 735, in reraise
3456
+ raise value
3457
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
3458
+ httplib_response = self._make_request(
3459
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
3460
+ conn.request(method, url, **httplib_request_kw)
3461
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
3462
+ super(HTTPConnection, self).request(method, url, body=body, headers=headers)
3463
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1255, in request
3464
+ self._send_request(method, url, body, headers, encode_chunked)
3465
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 92, in _send_request
3466
+ rval = super(AWSConnection, self)._send_request(
3467
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1301, in _send_request
3468
+ self.endheaders(body, encode_chunked=encode_chunked)
3469
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1250, in endheaders
3470
+ self._send_output(message_body, encode_chunked=encode_chunked)
3471
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 120, in _send_output
3472
+ self.send(msg)
3473
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 204, in send
3474
+ return super(AWSConnection, self).send(str)
3475
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 950, in send
3476
+ self.connect()
3477
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
3478
+ conn = self._new_conn()
3479
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
3480
+ raise ConnectTimeoutError(
3481
+ urllib3.exceptions.ConnectTimeoutError: (<botocore.awsrequest.AWSHTTPConnection object at 0x7fbd0c5989a0>, 'Connection to 169.254.169.254 timed out. (connect timeout=1)')
3482
+
3483
+ During handling of the above exception, another exception occurred:
3484
+
3485
+ Traceback (most recent call last):
3486
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/utils.py", line 430, in _fetch_metadata_token
3487
+ response = self._session.send(request.prepare())
3488
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/httpsession.py", line 418, in send
3489
+ raise ConnectTimeoutError(endpoint_url=request.url, error=e)
3490
+ botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/api/token"
3491
+ 2023-09-25 15:11:54,952 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (2): 169.254.169.254:80
3492
+ 2023-09-25 15:11:55,954 - botocore.utils - DEBUG - Caught retryable HTTP exception while making metadata service request to http://169.254.169.254/latest/meta-data/iam/security-credentials/: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
3493
+ Traceback (most recent call last):
3494
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn
3495
+ conn = connection.create_connection(
3496
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection
3497
+ raise err
3498
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection
3499
+ sock.connect(sa)
3500
+ socket.timeout: timed out
3501
+
3502
+ During handling of the above exception, another exception occurred:
3503
+
3504
+ Traceback (most recent call last):
3505
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/httpsession.py", line 385, in send
3506
+ urllib_response = conn.urlopen(
3507
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
3508
+ retries = retries.increment(
3509
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/util/retry.py", line 506, in increment
3510
+ raise six.reraise(type(error), error, _stacktrace)
3511
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/packages/six.py", line 735, in reraise
3512
+ raise value
3513
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
3514
+ httplib_response = self._make_request(
3515
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connectionpool.py", line 394, in _make_request
3516
+ conn.request(method, url, **httplib_request_kw)
3517
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 234, in request
3518
+ super(HTTPConnection, self).request(method, url, body=body, headers=headers)
3519
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1255, in request
3520
+ self._send_request(method, url, body, headers, encode_chunked)
3521
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 92, in _send_request
3522
+ rval = super(AWSConnection, self)._send_request(
3523
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1301, in _send_request
3524
+ self.endheaders(body, encode_chunked=encode_chunked)
3525
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 1250, in endheaders
3526
+ self._send_output(message_body, encode_chunked=encode_chunked)
3527
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 120, in _send_output
3528
+ self.send(msg)
3529
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/awsrequest.py", line 204, in send
3530
+ return super(AWSConnection, self).send(str)
3531
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/http/client.py", line 950, in send
3532
+ self.connect()
3533
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 200, in connect
3534
+ conn = self._new_conn()
3535
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
3536
+ raise ConnectTimeoutError(
3537
+ urllib3.exceptions.ConnectTimeoutError: (<botocore.awsrequest.AWSHTTPConnection object at 0x7fbd0c9bfbb0>, 'Connection to 169.254.169.254 timed out. (connect timeout=1)')
3538
+
3539
+ During handling of the above exception, another exception occurred:
3540
+
3541
+ Traceback (most recent call last):
3542
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/utils.py", line 478, in _get_request
3543
+ response = self._session.send(request.prepare())
3544
+ File "/home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/httpsession.py", line 418, in send
3545
+ raise ConnectTimeoutError(endpoint_url=request.url, error=e)
3546
+ botocore.exceptions.ConnectTimeoutError: Connect timeout on endpoint URL: "http://169.254.169.254/latest/meta-data/iam/security-credentials/"
3547
+ 2023-09-25 15:11:55,955 - botocore.utils - DEBUG - Max number of attempts exceeded (1) when attempting to retrieve data from metadata service.
3548
+ 2023-09-25 15:11:55,956 - botocore.loaders - DEBUG - Loading JSON file: /home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/data/endpoints.json
3549
+ 2023-09-25 15:11:55,964 - botocore.hooks - DEBUG - Event choose-service-name: calling handler <function handle_service_name_alias at 0x7fbd0c774c10>
3550
+ 2023-09-25 15:11:55,967 - botocore.loaders - DEBUG - Loading JSON file: /home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/data/sts/2011-06-15/service-2.json
3551
+ 2023-09-25 15:11:55,968 - botocore.hooks - DEBUG - Event creating-client-class.sts: calling handler <function add_generate_presigned_url at 0x7fbd0c6925e0>
3552
+ 2023-09-25 15:11:55,969 - botocore.endpoint - DEBUG - Setting sts timeout as (60, 60)
3553
+ 2023-09-25 15:11:55,969 - botocore.loaders - DEBUG - Loading JSON file: /home/salah/anaconda3/envs/salah/lib/python3.8/site-packages/botocore/data/_retry.json
3554
+ 2023-09-25 15:11:55,969 - botocore.client - DEBUG - Registering retry handlers for service: sts
3555
+ 2023-09-25 15:11:55,970 - botocore.hooks - DEBUG - Event before-parameter-build.sts.GetCallerIdentity: calling handler <function generate_idempotent_uuid at 0x7fbd0c678f70>
3556
+ 2023-09-25 15:11:55,970 - botocore.hooks - DEBUG - Event before-call.sts.GetCallerIdentity: calling handler <function inject_api_version_header_if_needed at 0x7fbd0c680820>
3557
+ 2023-09-25 15:11:55,970 - botocore.endpoint - DEBUG - Making request for OperationModel(name=GetCallerIdentity) with params: {'url_path': '/', 'query_string': '', 'method': 'POST', 'headers': {'Content-Type': 'application/x-www-form-urlencoded; charset=utf-8', 'User-Agent': 'Boto3/1.20.2 Python/3.8.5 Linux/5.4.0-150-generic Botocore/1.23.2'}, 'body': {'Action': 'GetCallerIdentity', 'Version': '2011-06-15'}, 'url': 'https://sts.amazonaws.com/', 'context': {'client_region': 'aws-global', 'client_config': <botocore.config.Config object at 0x7fbd0c9bf760>, 'has_streaming_input': False, 'auth_type': None}}
3558
+ 2023-09-25 15:11:55,970 - botocore.hooks - DEBUG - Event request-created.sts.GetCallerIdentity: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x7fbd0c9bf850>>
3559
+ 2023-09-25 15:11:55,970 - botocore.hooks - DEBUG - Event choose-signer.sts.GetCallerIdentity: calling handler <function set_operation_specific_signer at 0x7fbd0c678e50>
3560
+ 2023-09-25 15:11:55,971 - urllib3.connectionpool - DEBUG - Starting new HTTP connection (1): 127.0.0.1:7860
3561
+ 2023-09-25 15:11:55,977 - urllib3.connectionpool - DEBUG - http://127.0.0.1:7860 "HEAD / HTTP/1.1" 200 0
3562
+ 2023-09-25 15:11:55,979 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): api.gradio.app:443
3563
+ 2023-09-25 15:11:56,861 - urllib3.connectionpool - DEBUG - https://api.gradio.app:443 "POST /gradio-launched-telemetry/ HTTP/1.1" 200 None
3564
+ 2023-09-25 15:12:28,899 - matplotlib.pyplot - DEBUG - Loaded backend agg version unknown.
3565
+ 2023-09-25 15:12:29,362 - matplotlib.pyplot - DEBUG - Loaded backend TkAgg version unknown.
3566
+ 2023-09-25 15:12:37,840 - matplotlib.pyplot - DEBUG - Loaded backend agg version unknown.
3567
+ 2023-09-25 15:12:37,931 - pydub.converter - DEBUG - subprocess.call(['ffmpeg', '-y', '-i', '/tmp/gradio/327f40c758e8767b841356e8c45b676aff47a6b8/audio.wav', '-acodec', 'pcm_s32le', '-vn', '-f', 'wav', '-'])
3568
+ 2023-09-25 15:12:38,432 - matplotlib.pyplot - DEBUG - Loaded backend TkAgg version unknown.