Skip to content

Instantly share code, notes, and snippets.

View andrenatal's full-sized avatar
💻
...

Andre Natal andrenatal

💻
...
View GitHub Profile
@andrenatal
andrenatal / config.yaml
Created June 15, 2023 23:32
Firefox Translations Training pipeline configuration for hu-en
cuda: /usr/local/cuda-11.5
cudnn: /cudnn
datasets:
devtest:
- flores_dev
- sacrebleu_wmt08
- mtdata_Neulab-tedtalks_dev-1-eng-hun
mono-src:
- news-crawl_news.2021
- news-crawl_news.2020
@andrenatal
andrenatal / config.yaml
Last active June 15, 2023 23:28
Firefox Translations Training pipeline configuration for ca-en
cuda: /usr/local/cuda-11.5
cudnn: /cudnn
datasets:
devtest:
- flores_dev
mono-src:
- custom-mono_/data/rw/andre/fxt-training-catalan/datasets/mono-huggingface/corpus/catalan_textual_corpus.txt
mono-trg:
- news-crawl_news.2021
- news-crawl_news.2020
WARNING:tensorflow:From /var/engines/deepspeech_new/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/cudnn_rnn.py:342: calling GlorotUniform.__init__ (from tensorflow.python.ops.init_ops) with d
type is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
W0212 07:14:47.173215 140354383370048 deprecation.py:506] From /var/engines/deepspeech_new/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/contrib/cudnn_rnn/python/layers/cudnn_rnn.py:342: calling GlorotUniform.__init__ (from
tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:From /var/engines/deepspeech_new/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:1251: calling V
/**
* example-adapter.js - Example adapter.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.*
*/
'use strict';
Dec 13 05:44:44 gateway systemd[1]: Started Snips Hotword.
Dec 13 05:44:44 gateway snips-audio-server[8537]: INFO:snips_broadcast_mqtt_server: Starting broadcasting audio on hermes as site "default"
Dec 13 05:44:44 gateway snips-hotword[8538]: INFO:snips_hotword: Using model from /home/pi/.mozilla-iot/addons/voice-addon/personal_kws/
Dec 13 05:44:44 gateway snips-hotword[8538]: ERROR:snips_hotword: No such file or directory (os error 2)
Dec 13 05:44:44 gateway systemd[1]: snips-hotword.service: Main process exited, code=exited, status=1/FAILURE
Dec 13 05:44:44 gateway systemd[1]: snips-hotword.service: Unit entered failed state.
Dec 13 05:44:44 gateway systemd[1]: snips-hotword.service: Failed with result 'exit-code'.
Dec 13 05:44:44 gateway snips-audio-server[8537]: ALSA lib confmisc.c:1281:(snd_func_refer) Unable to find definition 'cards.bcm2835_alsa.pcm.front.0:CARD=0'
Dec 13 05:44:44 gateway snips-audio-server[8537]: ALSA lib conf.c:4528:(_snd_config_evaluate) function snd_func_refer returned error: No s
BUILD REQUIREMENTS
==================
In order to build the UniMRCP modules for Asterisk, both the UniMRCP and Asterisk projects must be
installed first.
1. Asterisk
Asterisk is an open source communication platform which can be used as a PBX, an IVR, or a conference
bridge.
#33: -[ChildView mouseUp:][/Users/anatal/projects/mozilla/obj-x86_64-apple-darwin17.7.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x325a000]
#34: -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x975836]
#35: -[NSWindow(NSEventRouting) sendEvent:][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x974c70]
#36: -[ToolbarWindow sendEvent:][/Users/anatal/projects/mozilla/obj-x86_64-apple-darwin17.7.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x32ad9cc]
#37: -[NSApplication(NSEvent) sendEvent:][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x7d6236]
#38: -[GeckoNSApplication sendEvent:][/Users/anatal/projects/mozilla/obj-x86_64-apple-darwin17.7.0/dist/NightlyDebug.app/Contents/MacOS/XUL +0x329eddd]
#39: -[NSApplication run][/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit +0x368b5]
#40: nsAppShell::Run()[/Users/anatal/projects/mozilla/obj-x86_64-apple-darwin17.7.0/dist/NightlyDebug.app/Contents/
--DOCSHELL 0x11967b800 == 7 [pid = 99344] [id = {01ebd92a-bd94-8243-9bac-b96689816a24}]
--DOCSHELL 0x119684000 == 6 [pid = 99344] [id = {c95c6890-dc36-be4d-aafd-cfc98dccad08}]
--DOCSHELL 0x13801e000 == 5 [pid = 99344] [id = {0539c422-5e22-b54b-beca-bc715fda3716}]
--DOCSHELL 0x13ee5d800 == 4 [pid = 99344] [id = {0384909c-4c71-3541-8051-5739a3fee4c1}]
[99344, Main Thread] WARNING: NS_ENSURE_TRUE(mDB) failed: file /Users/anatal/projects/mozilla/gecko-dev/netwerk/cache/nsDiskCacheDeviceSQL.cpp, line 1422
[99344, Main Thread] WARNING: nsAppShell::Exit() called redundantly: file /Users/anatal/projects/mozilla/gecko-dev/widget/cocoa/nsAppShell.mm, line 758
[99344, Main Thread] WARNING: NS_ENSURE_TRUE(maybeContext) failed: file /Users/anatal/projects/mozilla/gecko-dev/xpcom/threads/nsThread.cpp, line 909
--DOCSHELL 0x1258e1800 == 3 [pid = 99344] [id = {8a5cb985-805e-7042-9f82-94762c3d9d45}]
--DOCSHELL 0x1258e2000 == 2 [pid = 99344] [id = {d306f5b7-1581-d04f-aa3c-5c224feaef3e}]
--DOCSHELL 0x13ee76800 == 1 [pid = 99344
anatal-35389:gecko-dev anatal$ ./mach mochitest dom/media/webspeech/recognition/
cat: backend.TestManifestBackend.in: No such file or directory
Build configuration changed. Regenerating backend.
No handlers could be found for logger "mozbuild.frontend.reader"
Collecting six==1.10.0 (from -r /Users/anatal/projects/mozilla/gecko-dev/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/c8/0a/b6723e1bc4c516cb687841499455a8505b44607ab535be01091c0f24f079/six-1.10.0-py2.py3-none-any.whl
Collecting twisted==10.2.0 (from -r /Users/anatal/projects/mozilla/gecko-dev/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 4))
Collecting txws==0.9.1 (from -r /Users/anatal/projects/mozilla/gecko-dev/testing/tools/websocketprocessbridge/websocketprocessbridge_requirements.txt (line 7))
Collecting psutil==5.4.3 (from -r /Users/anatal/projects/mozilla/gecko-dev/testing/tools/websocketprocessbridge/websocketproce
[at-loader] Using typescript@2.4.1 from typescript and "tsconfig.json" from /home/pi/mozilla-iot/gateway/tsconfig.json.
[at-loader] Checking started in a separate process...
[at-loader] Checking finished with 663 errors
Error: EMFILE: too many open files, open '/home/pi/mozilla-iot/gateway/build/addons/broadlink-adapter/node_modules/lodash/fp/xor.js'
npm ERR! Linux 4.9.59-v7+
npm ERR! argv "/home/pi/.nvm/versions/node/v7.10.1/bin/node" "/home/pi/.nvm/versions/node/v7.10.1/bin/npm" "start"